Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2886] Studio: Crashing and failure to build iOS projects in simulator

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2012-01-10T10:06:30.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsStudio
Labelstc-more-info
ReporterKetan Majmudar
AssigneePaul Dowsett
Created2011-12-19T15:16:11.000+0000
Updated2016-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

FileDateSize
build.log2011-12-21T04:17:48.000+00002636
Screen shot 2011-12-31 at 3.21.50 PM.png2011-12-31T12:25:59.000+000030636
Screen shot 2011-12-31 at 3.22.00 PM.png2011-12-31T12:25:59.000+000031057

Comments

  1. Paul Dowsett 2011-12-19

    Hi Ket Would you state the iOS version you have tested, please? Please note the formatting changes I've made. Thanks
  2. Paul Dowsett 2011-12-19

    Ket In order to accept this, I will need the full contents of the build.log file. Thank you
  3. Paul Dowsett 2011-12-19

    Once this ticket is complete, please reopen it and I will escalate it. Cheers
  4. Ketan Majmudar 2011-12-21

    iPhone folder build.log file - still getting these intermittent crashes and Studio Freezing up.
  5. David Rodriguez 2011-12-31

    After quitting the simulator, the process ios-sim keeps running even after terminating it in titanium studio.
  6. Paul Dowsett 2011-12-31

    Ket, is this still happening when using the 1.8.0.1 official release? Thanks
  7. Paul Dowsett 2012-01-10

    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
  8. Paul Mackay 2012-01-10

    I am having this same problem with the latest released SDK and Studio. I have to restart the Studio to be able to continue.
  9. Ketan Majmudar 2012-01-10

    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
  10. Paul Dowsett 2012-01-10

    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
  11. Paul Dowsett 2012-01-10

    As advised by the user, this has been fixed.

JSON Source