{ "id": "84394", "key": "AC-3082", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2011-12-31T18:02:07.000+0000", "created": "2011-12-31T12:27:23.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:48:07.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." } ], "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.\r\n\r\nError Below:\r\n\r\n{code}\r\n[INFO] Performing clean build\r\n[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\"\r\n[ERROR] clang: error: unable to execute command: posix_spawn failed: Resource temporarily unavailable\r\n[ERROR] clang: error: clang frontend command failed due to signal 1 (use -v to see invocation)\r\n[ERROR] \r\n[ERROR] Error: Traceback (most recent call last):\r\n File \"/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1.RC3/iphone/builder.py\", line 1274, in main\r\n 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)\r\n File \"/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1.RC3/iphone/builder.py\", line 1180, in execute_xcode\r\n output = run.run(args,False,False,o)\r\n File \"/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1.RC3/iphone/run.py\", line 39, in run\r\n sys.exit(rc)\r\nSystemExit: 65\r\n{code}", "attachment": [ { "id": "24902", "filename": "build.log", "author": { "name": "programmerdave", "key": "programmerdave", "displayName": "David Rodriguez", "active": true, "timeZone": "America/New_York" }, "created": "2011-12-31T12:27:24.000+0000", "size": 2636, "mimeType": "text/plain" }, { "id": "24900", "filename": "Screen shot 2011-12-31 at 3.21.50 PM.png", "author": { "name": "programmerdave", "key": "programmerdave", "displayName": "David Rodriguez", "active": true, "timeZone": "America/New_York" }, "created": "2011-12-31T12:27:24.000+0000", "size": 30636, "mimeType": "image/png" }, { "id": "24901", "filename": "Screen shot 2011-12-31 at 3.22.00 PM.png", "author": { "name": "programmerdave", "key": "programmerdave", "displayName": "David Rodriguez", "active": true, "timeZone": "America/New_York" }, "created": "2011-12-31T12:27:24.000+0000", "size": 31057, "mimeType": "image/png" } ], "flagged": false, "summary": "Please Reopen - Studio: Constant crashing and failure to build iOS projects in simulator with 1.8.0.1 RC3", "creator": { "name": "programmerdave", "key": "programmerdave", "displayName": "David Rodriguez", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "programmerdave", "key": "programmerdave", "displayName": "David Rodriguez", "active": true, "timeZone": "America/New_York" }, "environment": "* Studio 1.0.8.xxx (I reverted to 1.0.6.1318900440-7E357c-cIJ-aILC to try to resolve this, but the problem has returned)\r\n* Titanium 1.8.0.1.RC3\r\n* iOS\r\n* simulator\r\n* OSX 10.6.8 2.66 Ghz Intel Core i7 8GB Memory", "comment": { "comments": [ { "id": "177735", "author": { "name": "programmerdave", "key": "programmerdave", "displayName": "David Rodriguez", "active": true, "timeZone": "America/New_York" }, "body": "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.\r\n\r\nA possible solution is to use *killall -c ios-sim*", "updateAuthor": { "name": "programmerdave", "key": "programmerdave", "displayName": "David Rodriguez", "active": true, "timeZone": "America/New_York" }, "created": "2011-12-31T12:29:26.000+0000", "updated": "2011-12-31T12:29:26.000+0000" }, { "id": "177737", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Please don't create duplicate tickets, David. Simply add a comment to the existing ticket. Thank you", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-12-31T17:58:35.000+0000", "updated": "2011-12-31T17:58:35.000+0000" }, { "id": "281055", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "DUP issue. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-11-24T22:30:12.000+0000", "updated": "2013-11-24T22:30:12.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }