{ "id": "84720", "key": "AC-2801", "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": "2012-02-21T14:54:54.000+0000", "created": "2012-01-11T06:28:27.000+0000", "labels": [ "tc-more-info" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:47:43.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "h2. Problem\r\n\r\nAfter a number of emulator reloads, the Studio gets into a state where it will not rebuild and run the emulator again. Restarting Studio solves this but that is undesirable.\r\n\r\nIt starts to take longer to start up and then dies immediately printing:\r\n\r\n{noformat} \r\n[ERROR] Error: Traceback (most recent call last):\r\n{noformat} \r\n\r\nAlso have seen this failure:\r\n\r\n{noformat} \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] 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] 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] 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/iphone/builder.py\", line 1418, in main\r\n execute_xcode(\"iphoneos%s\" % iphone_version,args,False)\r\n File \"/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1/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/iphone/run.py\", line 39, in run\r\n sys.exit(rc)\r\nSystemExit: 65\r\n{noformat} \r\n\r\nor \r\n\r\n{noformat} \r\n[INFO] Performing clean build\r\n[ERROR] clang: error: assembler command failed with exit code 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/iphone/builder.py\", line 1418, in main\r\n execute_xcode(\"iphoneos%s\" % iphone_version,args,False)\r\n File \"/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1/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/iphone/run.py\", line 39, in run\r\n sys.exit(rc)\r\nSystemExit: 65\r\n{noformat} \r\n\r\nor \r\n\r\n{noformat} \r\n[INFO] Performing clean build\r\n[ERROR] 2012-01-11 13:08:55.168 xcodebuild[21605:4603] error: Error Domain=NSPOSIXErrorDomain Code=35 UserInfo=0x20090b320 \"Couldn't run shell command: /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang -v -E -dM -arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -x c -c /dev/null 2>&1\"\r\n[ERROR] 2012-01-11 13:08:55.205 xcodebuild[21605:4603] error: Error Domain=NSPOSIXErrorDomain Code=35 UserInfo=0x200895cc0 \"Couldn't run shell command: /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang -v -E -dM -arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -x objective-c++ -c /dev/null 2>&1\"\r\n[ERROR] 2012-01-11 13:08:55.671 xcodebuild[21605:4603] error: Error Domain=NSPOSIXErrorDomain Code=35 UserInfo=0x2009933e0 \"Couldn't run shell command: /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang -v -E -dM -arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -x c++ -c /dev/null 2>&1\"\r\n[ERROR] 2012-01-11 13:08:56.202 xcodebuild[21605:4603] error: Error Domain=NSPOSIXErrorDomain Code=35 UserInfo=0x200d239c0 \"Couldn't run shell command: /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang -v -E -dM -arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -x objective-c -c /dev/null 2>&1\"\r\n[ERROR] 2012-01-11 13:08:56.286 xcodebuild[21605:4603] error: Error Domain=NSPOSIXErrorDomain Code=35 UserInfo=0x200b8ff80 \"Couldn't run shell command: /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang -v -E -dM -arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -x c -c /dev/null 2>&1\"\r\n[ERROR] 2012-01-11 13:08:56.346 xcodebuild[21605:4603] error: Error Domain=NSPOSIXErrorDomain Code=35 UserInfo=0x200839340 \"Couldn't run shell command: /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang -v -E -dM -arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -x objective-c++ -c /dev/null 2>&1\"\r\n[ERROR] 2012-01-11 13:08:56.754 xcodebuild[21605:4603] error: Error Domain=NSPOSIXErrorDomain Code=35 UserInfo=0x200e1fde0 \"Couldn't run shell command: /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang -v -E -dM -arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -x c++ -c /dev/null 2>&1\"\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/iphone/builder.py\", line 1418, in main\r\n execute_xcode(\"iphoneos%s\" % iphone_version,args,False)\r\n File \"/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1/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/iphone/run.py\", line 39, in run\r\n sys.exit(rc)\r\nSystemExit: 65\r\n{noformat} \r\n\r\nh2. Test case\r\nRun the emulator repeatedly\r\n", "attachment": [], "flagged": false, "summary": "iOS projects failing to build", "creator": { "name": "pmackay", "key": "pmackay", "displayName": "Paul Mackay", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pmackay", "key": "pmackay", "displayName": "Paul Mackay", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "* Titanium Mobile 1.8.0.1 (12/22/11 13:09 fbdc96f)\r\n* iOS 5.0.1\r\n* iOS simulator\r\n* OSX 10.6.8\r\n* Titanium Studio 1.0.7.201112281340", "comment": { "comments": [ { "id": "178848", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Paul\r\n\r\nPlease would you follow the advice in [Build error in console output|https://wiki.appcelerator.org/display/tis/Errors+Building+Titanium+Projects#ErrorsBuildingTitaniumProjects-Builderrorinconsoleoutput] and report your results?\r\n\r\nMany thanks", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-01-11T06:33:47.000+0000", "updated": "2012-01-11T06:33:47.000+0000" }, { "id": "178850", "author": { "name": "pmackay", "key": "pmackay", "displayName": "Paul Mackay", "active": true, "timeZone": "America/Los_Angeles" }, "body": "After making Preferences changes and restarting, I got:\r\n\r\n{noformat}\r\n[INFO] One moment, building ...\r\n[INFO] Titanium SDK version: 1.8.0.1 (12/22/11 13:09 fbdc96f)\r\n[INFO] iPhone Device family: iphone\r\n[INFO] iPhone SDK version: 5.0\r\n[INFO] iPhone simulated device: iphone\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{noformat}\r\n\r\nand after a 3rd try:\r\n\r\n{noformat}\r\n[INFO] One moment, building ...\r\n[INFO] Titanium SDK version: 1.8.0.1 (12/22/11 13:09 fbdc96f)\r\n[INFO] iPhone Device family: iphone\r\n[INFO] iPhone SDK version: 5.0\r\n[INFO] iPhone simulated device: iphone\r\n[ERROR] 2012-01-11 14:54:57.209 xcodebuild[37903:410b] error: Error Domain=NSPOSIXErrorDomain Code=35 UserInfo=0x200a39120 \"Couldn't run 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] 2012-01-11 14:54:57.308 xcodebuild[37903:410b] error: Error Domain=NSPOSIXErrorDomain Code=2 UserInfo=0x2004b6ca0 \"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 c -c /dev/null 2>&1\"\r\n[ERROR] 2012-01-11 14:54:57.332 xcodebuild[37903:410b] error: Error Domain=NSPOSIXErrorDomain Code=2 UserInfo=0x200ae4d40 \"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] 2012-01-11 14:54:57.696 xcodebuild[37903:410b] error: Error Domain=NSPOSIXErrorDomain Code=2 UserInfo=0x200abe500 \"Non-zero exit code 255 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 c++ -c /dev/null 2>&1\"\r\n[ERROR] \r\n[ERROR] Error: Traceback (most recent call last):\r\n{noformat}", "updateAuthor": { "name": "pmackay", "key": "pmackay", "displayName": "Paul Mackay", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-11T06:50:16.000+0000", "updated": "2012-01-11T06:55:31.000+0000" }, { "id": "178864", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Paul\r\n\r\nThe link I provided explains how to launch your project from the command line. Have you tried this?\r\n\r\nThanks", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-01-11T09:19:47.000+0000", "updated": "2012-01-11T09:19:47.000+0000" }, { "id": "179174", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-13T05:59:53.000+0000", "updated": "2012-01-13T05:59:53.000+0000" }, { "id": "180376", "author": { "name": "pmackay", "key": "pmackay", "displayName": "Paul Mackay", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi, yes I think it is related to that issue 1018. In fact what I am now seeing is the currently unresolved issue following that where the ios-sim processes are not killed when repeatedly launching the simulator. But I understand enough now to continue working around it.", "updateAuthor": { "name": "pmackay", "key": "pmackay", "displayName": "Paul Mackay", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-24T01:13:09.000+0000", "updated": "2012-01-24T01:13:09.000+0000" }, { "id": "183865", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2012-02-21T14:54:54.000+0000", "updated": "2012-02-21T14:54:54.000+0000" }, { "id": "280941", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Closing since it's a dup. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-11-24T22:07:55.000+0000", "updated": "2013-11-24T22:07:55.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }