[AC-2886] Studio: Crashing and failure to build iOS projects in simulator
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-01-10T10:06:30.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Studio |
Labels | tc-more-info |
Reporter | Ketan Majmudar |
Assignee | Paul Dowsett |
Created | 2011-12-19T15:16:11.000+0000 |
Updated | 2016-03-08T07:47:50.000+0000 |
Description
I am more and more frequently getting this buggy behaviour when trying to build for iOS on my dev machine to the point where 3/4 the build fails.
Error Below:
[INFO] Performing clean build
[ERROR] 2011-12-19 23:09:25.165 xcodebuild[70507:3c13] error: Error Domain=NSPOSIXErrorDomain Code=2 UserInfo=0x2009edc20 "Non-zero exit code 128 returned from shell command: /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang -v -E -dM -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -x objective-c++ -c /dev/null 2>&1"
[ERROR] clang: error: unable to execute command: posix_spawn failed: Resource temporarily unavailable
[ERROR] clang: error: clang frontend command failed due to signal 1 (use -v to see invocation)
[ERROR]
[ERROR] Error: Traceback (most recent call last):
File "/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1.RC3/iphone/builder.py", line 1274, in main
execute_xcode("iphonesimulator%s" % link_version,["GCC_PREPROCESSOR_DEFINITIONS=__LOG__ID__=%s DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s %s %s" % (log_id,sdk_version,debugstr,kroll_coverage)],False)
File "/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1.RC3/iphone/builder.py", line 1180, in execute_xcode
output = run.run(args,False,False,o)
File "/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1.RC3/iphone/run.py", line 39, in run
sys.exit(rc)
SystemExit: 65
Attachments
File | Date | Size |
---|---|---|
build.log | 2011-12-21T04:17:48.000+0000 | 2636 |
Screen shot 2011-12-31 at 3.21.50 PM.png | 2011-12-31T12:25:59.000+0000 | 30636 |
Screen shot 2011-12-31 at 3.22.00 PM.png | 2011-12-31T12:25:59.000+0000 | 31057 |
Hi Ket Would you state the iOS version you have tested, please? Please note the formatting changes I've made. Thanks
Ket In order to accept this, I will need the full contents of the build.log file. Thank you
Once this ticket is complete, please reopen it and I will escalate it. Cheers
iPhone folder build.log file - still getting these intermittent crashes and Studio Freezing up.
After quitting the simulator, the process ios-sim keeps running even after terminating it in titanium studio.
Ket, is this still happening when using the 1.8.0.1 official release? Thanks
Ket You mentioned in our telephone conversation that this issue may be resolved now. Would you mind checking, so that I can close it if possible? Thanks a lot
I am having this same problem with the latest released SDK and Studio. I have to restart the Studio to be able to continue.
These errors / behaviour have stopped since the public release of Studio and the Stable SDK were released. I re-installed the latest available version of studio and then ran the stable updates. Seems as though it may have been the beta builds causing the problems. Titanium Studio, build: 1.0.7.201112281340 (c) Copyright 2011 by Appcelerator, Inc. All rights reserved. Build: jenkins-titanium-rcp-master-130 (origin/master) Date: 28 December 2011, 13:46:07
Thank you for the update, Ketan. Paul, as Ket is no longer having this issue, I am going to close this ticket. Would you please open a new one with your own findings? See the [JIRA Ticket Checklist](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist), and include all the relevant information. Thank you
As advised by the user, this has been fixed.