{ "id": "121761", "key": "TIMOB-15605", "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-10-29T17:30:50.000+0000", "created": "2013-10-29T05:26:37.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-closed-3.2.0" ], "versions": [], "issuelinks": [ { "id": "43023", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "139806", "key": "AC-1486", "fields": { "summary": "[ERROR] : Invalid \"--sim-version\" value \"7.0\" Accepted values: 8.1 For help, run: titanium help build", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "35348", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "124779", "key": "TISTUD-6027", "fields": { "summary": "Invalid \"--ios-version\" value \"7.0\"", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-11-17T20:49:04.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": "10206", "name": "iOS", "description": "iOS Platform" }, { "id": "10207", "name": "Tooling" } ], "description": "When building using iOS 7.0.3, we need to force the Xcode target OS to only be 2 digits (i.e. iphoneos7.0).\r\n\r\nAlso, when launching the iOS Simulator, just pass the first 2 digits as the --sdk param.", "attachment": [], "flagged": false, "summary": "CLI: Force iOS version to be no more than 2 digits", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "277107", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/4873", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-10-29T05:28:12.000+0000", "updated": "2013-10-29T05:28:12.000+0000" }, { "id": "284113", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed. Verified if I use this command: *ti build -p ios -S 7.0.3*, the CLI is able to select the correct iOS version:\r\n\r\n{code}\r\n[DEBUG] Setting Xcode target to Debug\r\n[DEBUG] Setting Xcode build OS to iphonesimulator7.0\r\n{code}\r\n\r\nAnd, if I use this command to build to itunes: *ti build -p ios -T device*, the CLI is able to select the correct iOS version:\r\n\r\n{code}\r\n[DEBUG] Setting Xcode target to Debug\r\n[DEBUG] Setting Xcode build OS to iphoneos7.0\r\n{code}\r\n\r\nTested on:\r\n\r\nSDK build: 3.2.0.v20131212122847\r\nCLI: 3.2.0-cr3\r\nAlloy: 1.3.0-cr\r\nXcode: 5.0.2\r\nDevice: iphone simulator (7.0.3), iphone 5 (6.1.3)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-12T23:02:13.000+0000", "updated": "2013-12-13T01:58:34.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }