Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3082] Please Reopen - Studio: Constant crashing and failure to build iOS projects in simulator with 1.8.0.1 RC3

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2011-12-31T18:02:07.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsStudio
Labelsn/a
ReporterDavid Rodriguez
AssigneeMauro Parra-Miranda
Created2011-12-31T12:27:23.000+0000
Updated2016-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

FileDateSize
build.log2011-12-31T12:27:24.000+00002636
Screen shot 2011-12-31 at 3.21.50 PM.png2011-12-31T12:27:24.000+000030636
Screen shot 2011-12-31 at 3.22.00 PM.png2011-12-31T12:27:24.000+000031057

Comments

  1. David Rodriguez 2011-12-31

    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*
  2. Paul Dowsett 2011-12-31

    Please don't create duplicate tickets, David. Simply add a comment to the existing ticket. Thank you
  3. Mauro Parra-Miranda 2013-11-24

    DUP issue.

JSON Source