{ "id": "121736", "key": "TIMOB-15604", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "15703", "description": "2013 Sprint 22", "name": "2013 Sprint 22", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "15705", "description": "2013 Sprint 22 Core", "name": "2013 Sprint 22 Core", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-11-01T23:14:50.000+0000", "created": "2013-10-29T00:43:27.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-3.2.0", "qe-testadded" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [ { "id": "32903", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "121706", "key": "TISTUD-5614", "fields": { "summary": "iOS: Xcode 5.0.1 - Nightly Studio build cannot build app for iOS 7.0.3 simulator, device, or packaging using xcode 5.0.1", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "32904", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "121593", "key": "TIMOB-15576", "fields": { "summary": "iOS: Simulator - Add support for iPad Retina (64-bit)", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-02-24T18:37:25.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": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "h5.Description\r\nRunning the build command through CLI fails\r\n\r\nh5.Steps To Reproduce\r\n1. Create an iOS project\r\n2. Open the CLI\r\n3. cd into the project directory\r\n4. Run \"ti build --platform=ios -I 7.0.3\"\r\n5. Run \"ti build --platform=ios -I 7.0\"\r\n\r\nh5.Expected Result\r\n4. Project to run using iOS SDK 7.0.3\r\n5. Project to run using iOS SDK 7.0\r\n\r\nh5.Actual Result\r\n4. Asks to use iOS SDK 7.0\r\n5. Asks to use iOS SDK 7.0.3\r\n\r\n+Extra Information+\r\n4.\r\n{code}\r\n[ERROR] An error occurred running the iOS Simulator\r\n[ERROR] Unknown or unsupported SDK version: 7.0.3\r\n[ERROR] [DEBUG] Simulator SDK Roots:\r\n[ERROR] [DEBUG] 'Simulator - iOS 5.0' (5.0)\r\n[ERROR] /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk\r\n[ERROR] [DEBUG] 'Simulator - iOS 5.1' (5.1)\r\n[ERROR] /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk\r\n[ERROR] [DEBUG] 'Simulator - iOS 6.0' (6.0)\r\n[ERROR] /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk\r\n[ERROR] [DEBUG] 'Simulator - iOS 6.1' (6.1)\r\n[ERROR] /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk\r\n[ERROR] [DEBUG] 'Simulator - iOS 7.0' (7.0)\r\n[ERROR] /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk\r\n[ERROR] \r\n[ERROR] Project failed to build after 1s 143ms\r\n{code}\r\n5.\r\n{code}\r\n[ERROR] Invalid \"--ios-version\" value \"7.0\"\r\n\r\nAccepted values:\r\n 7.0.3\r\n \r\n[ERROR] Invalid \"--sim-version\" value \"7.0\"\r\n\r\nAccepted values:\r\n 7.0.3\r\n 6.1\r\n 6.0\r\n 5.1\r\n 5.0\r\n{code}", "attachment": [], "flagged": false, "summary": "CLI: iOS fails to build to simulator", "creator": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OSX 10.9 Mavericks\r\nTitanium Studio, build: 3.2.0.201310280646\r\nTitanium SDK, build: 3.2.0.20131028145644\r\nCLI: 3.2.0\r\nAlloy: 1.2.2\r\nXcode: 5.0.1", "comment": { "comments": [ { "id": "277160", "author": { "name": "iwhitfield", "key": "iwhitfield", "displayName": "Isaac Whitfield", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Occurs for me as well on latest 3.2.0 CLI, latest 3.2.0 SDK and latest 3.2.0 Appcelerator Studio.", "updateAuthor": { "name": "iwhitfield", "key": "iwhitfield", "displayName": "Isaac Whitfield", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-29T16:43:50.000+0000", "updated": "2013-10-29T16:43:50.000+0000" }, { "id": "277190", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "This should be fixed now in master.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-10-29T18:10:55.000+0000", "updated": "2013-10-29T18:10:55.000+0000" }, { "id": "277231", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Reopening ticket.\n\n\"ti build --platform=ios -I 7.0\" command works with current SDK master build. But, \"ti build --platform=ios -I 7.0.3\" is returning this error:\n\n{code}\n[TRACE] /bin/sh -c /Users/wluu/Documents/Titanium_Studio_Workspace/monkeyFace/build/iphone/build/monkeyFace.build/Debug-iphonesimulator/monkeyFace-universal.build/Script-DABB369F12E8CB280026A6EA.sh\n[TRACE] [ERROR] Invalid \"--ios-version\" value \"7.0\"\n[TRACE] \n[TRACE] Accepted values:\n[TRACE] 7.0.3\n[TRACE] \n[TRACE] For help, run 'titanium help build'.\n[TRACE] Command /bin/sh failed with exit code 1\n[ERROR] ** BUILD FAILED **\n[ERROR] The following build commands failed:\n[ERROR] PhaseScriptExecution Pre-Compile build/monkeyFace.build/Debug-iphonesimulator/monkeyFace-universal.build/Script-DABB369F12E8CB280026A6EA.sh\n[ERROR] (1 failure)\n{code}\n\nTested on:\n\nSDK build: 3.2.0.v20131029113339\nTi CLI: 3.2.0 (master)\nXcode: 5.0, 5.0.1\nOS: Maverick (10.9)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-29T20:14:37.000+0000", "updated": "2013-10-29T20:14:37.000+0000" }, { "id": "277273", "author": { "name": "nunocostapt", "key": "nunocostapt", "displayName": "Nuno Costa", "active": true, "timeZone": "Europe/Lisbon" }, "body": "I can confirm this, happened to me all day: (CLI version 3.2.0, Titanium SDK version 3.2.0.v20131029135645)\r\n\r\nMac OSX 10.8.5 \r\nTitanium Studio, build: 3.2.0.201310290757\r\nTitanium SDK, build: 3.2.0.v20131029135645\r\nCLI: 3.2.0\r\nAlloy: 1.3\r\nXcode: 5.0.1\r\n\r\n{code}\r\n\r\nti build --platform=ios -I 7.0\r\n\r\n[ERROR] Invalid \"--ios-version\" value \"7.0\"\r\n\r\nPlease select a valid ios-version value\r\n 1) 7.0.3\r\nSelect a value by number or name: 7.0.3\r\n\r\nti build --platform=ios -I 7.0.3\r\n\r\n[ERROR] An error occurred running the iOS Simulator\r\n[ERROR] [DEBUG] Session could not be started: Error Domain=DTiPhoneSimulatorErrorDomain Code=1 \"iOS Simulator failed to install the application.\" UserInfo=0x7fa30c0a8660 {NSLocalizedDescription=iOS Simulator failed to install the application., DTiPhoneSimulatorUnderlyingErrorCodeKey=-1}\r\n[ERROR]\r\n{code}\r\n\r\n\r\nP.S\r\nIf I open the project in xcode I have to go to the build phases and in PRE-compiler script I have to add {code} --ios-version 7.0.3 {code}before the NO-COLORS then the simulator and the app runs fine.", "updateAuthor": { "name": "nunocostapt", "key": "nunocostapt", "displayName": "Nuno Costa", "active": true, "timeZone": "Europe/Lisbon" }, "created": "2013-10-29T22:01:50.000+0000", "updated": "2013-10-29T22:42:44.000+0000" }, { "id": "277322", "author": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Environment - \nMac OSX 10.9 (Mavericks)\nAppc Studio, build: 3.2.0.201310300145\nTitanium SDK, build: 3.2.0.v20131029150357\nCLI: 3.2.0\nAlloy: 1.3\nXcode: 5.0.1\n\nResult - Its still reproducible. From Studio, build failed with below error message - \n---------------------------------\n[ERROR] : ** BUILD FAILED **\n[ERROR] : The following build commands failed:\n[ERROR] : \tPhaseScriptExecution Pre-Compile build/testapp1.build/Debug-iphonesimulator/testapp1.build/Script-241EAF36118E30260081A5BE.sh\n[ERROR] : (1 failure)\n------------------------------\nTried again and got the below error message - \n-----------------------\n[ERROR] : An error occurred running the iOS Simulator\n[ERROR] : [DEBUG] Session could not be started: Error Domain=DTiPhoneSimulatorErrorDomain Code=1 \"iOS Simulator failed to install the application.\" UserInfo=0x7f8758508520 {NSLocalizedDescription=iOS Simulator failed to install the application., DTiPhoneSimulatorUnderlyingErrorCodeKey=-1}\n[ERROR] : \n[ERROR] : Project failed to build after 26s 289ms\n----------------------\n\nFrom CLI, I executed command - \"ti build --platform iphone -T simulator --ios-version 7.0.3\". Observed that build happens successfully but got the below error message - \n[INFO] Focusing the iOS Simulator\n[ERROR] An error occurred running the iOS Simulator\n[ERROR] [DEBUG] Session could not be started: Error Domain=DTiPhoneSimulatorErrorDomain Code=1 \"iOS Simulator failed to install the application.\" UserInfo=0x7ff763406380 {NSLocalizedDescription=iOS Simulator failed to install the application., DTiPhoneSimulatorUnderlyingErrorCodeKey=-1}\n[ERROR] \n[ERROR] Project failed to build after 6s 980ms ", "updateAuthor": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-30T06:41:12.000+0000", "updated": "2013-10-30T06:41:12.000+0000" }, { "id": "277348", "author": { "name": "nunocostapt", "key": "nunocostapt", "displayName": "Nuno Costa", "active": true, "timeZone": "Europe/Lisbon" }, "body": "@Dhirendra Jha, \r\nHave you tried reproduce what I described in my comment? \r\n\r\nRead please the *P.S* part, I just cant remember if I put {code}--ios-version 7.0.3{code} or {code}ios-version 7.0.3{code}\r\n\r\nyou confirm?\r\n\r\n- Nuno\r\n\r\n\r\n*EDIT:*\r\nActually I really want test and help debug the 3.2.0xxxx but i'm unable to do so :(\r\nAny tip I will appreciate!", "updateAuthor": { "name": "nunocostapt", "key": "nunocostapt", "displayName": "Nuno Costa", "active": true, "timeZone": "Europe/Lisbon" }, "created": "2013-10-30T14:56:12.000+0000", "updated": "2013-10-30T14:58:27.000+0000" }, { "id": "277396", "author": { "name": "nunocostapt", "key": "nunocostapt", "displayName": "Nuno Costa", "active": true, "timeZone": "Europe/Lisbon" }, "body": "Okay I had to downgrade xcode, from 5.0.1 to 5.0, so now the cli, or sdk 3.2.0.xxxxx, or the script responsible to deploy the app to simulator works as expected, because he find the iOS 7.0 simulator.\r\n\r\nAt least now I can test both, sdk 3.2.x and Studio ;)\r\n\r\n- Nuno", "updateAuthor": { "name": "nunocostapt", "key": "nunocostapt", "displayName": "Nuno Costa", "active": true, "timeZone": "Europe/Lisbon" }, "created": "2013-10-30T20:09:52.000+0000", "updated": "2013-10-30T20:09:52.000+0000" }, { "id": "277513", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~nunocostapt] There have been many changes in the CLI and in Studio to ensure integration. In this case, it's the first time Apple is using a 3-digit simulator and iOS version and so there were changes to support this in the CLI and in Studio. To take advantage of these fixes prior to the GA release, you should be sure to get the latest 3.2.0 versions of all three components: SDK, Studio, and the CLI (from the master branch in the CLI github repo). Watch also ticket TISTUD-5614, and when both TIMOB-15604 and TISTUD-5614 are closed then Xcode 5.0.1 (Specifically iOS 7.0.3) should be functioning.\n", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-31T17:12:46.000+0000", "updated": "2013-10-31T17:12:46.000+0000" }, { "id": "277514", "author": { "name": "nunocostapt", "key": "nunocostapt", "displayName": "Nuno Costa", "active": true, "timeZone": "Europe/Lisbon" }, "body": "Eric Merriman, \r\nyes, all my reposts are based all on bleeding Edge builds also studio :)\r\nAfter my downgrade all worked, so dunno.\r\n\r\nRegards\r\nNuno", "updateAuthor": { "name": "nunocostapt", "key": "nunocostapt", "displayName": "Nuno Costa", "active": true, "timeZone": "Europe/Lisbon" }, "created": "2013-10-31T17:27:22.000+0000", "updated": "2013-10-31T17:27:22.000+0000" }, { "id": "277631", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Pull request: https://github.com/appcelerator/titanium_mobile/pull/4898", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-11-01T06:28:12.000+0000", "updated": "2013-11-01T06:28:12.000+0000" }, { "id": "278207", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on:\nMac OSX 10.9 Mavericks\nTitanium Studio, build: 3.2.0.201311050151\nTitanium SDK, build: 3.2.0.v20131105094044\nAlloy: 1.3.0\nCLI: 3.2.0\nXCode: 5.0.1\n\niOS project now builds and runs on simulator successfully through Studio and CLI.\nClosing.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-05T18:45:35.000+0000", "updated": "2013-11-05T18:45:35.000+0000" }, { "id": "283884", "author": { "name": "tel22tel", "key": "tel22tel", "displayName": "Tel Tel", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "tel22tel", "key": "tel22tel", "displayName": "Tel Tel", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-11T22:53:56.000+0000", "updated": "2013-12-11T22:53:56.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }