[AC-3082] Please Reopen - Studio: Constant crashing and failure to build iOS projects in simulator with 1.8.0.1 RC3
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2011-12-31T18:02:07.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Studio |
Labels | n/a |
Reporter | David Rodriguez |
Assignee | Mauro Parra-Miranda |
Created | 2011-12-31T12:27:23.000+0000 |
Updated | 2016-03-08T07:48:07.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-31T12:27:24.000+0000 | 2636 |
Screen shot 2011-12-31 at 3.21.50 PM.png | 2011-12-31T12:27:24.000+0000 | 30636 |
Screen shot 2011-12-31 at 3.22.00 PM.png | 2011-12-31T12:27:24.000+0000 | 31057 |
The screenshots attached show that after the ios simulator is closed, the ios-sim process stays running. These build up and overtime the system doesn't let you spawn any more processes which is the cause of this error. A possible solution is to use *killall -c ios-sim*
Please don't create duplicate tickets, David. Simply add a comment to the existing ticket. Thank you
DUP issue.