[TIMOB-15605] CLI: Force iOS version to be no more than 2 digits
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-10-29T17:30:50.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2013 Sprint 22, 2013 Sprint 22 Core, Release 3.2.0 |
Components | iOS, Tooling |
Labels | qe-closed-3.2.0 |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2013-10-29T05:26:37.000+0000 |
Updated | 2014-11-17T20:49:04.000+0000 |
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).
Also, when launching the iOS Simulator, just pass the first 2 digits as the --sdk param.
Master pull request: https://github.com/appcelerator/titanium_mobile/pull/4873
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:
And, 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:
Tested on: SDK build: 3.2.0.v20131212122847 CLI: 3.2.0-cr3 Alloy: 1.3.0-cr Xcode: 5.0.2 Device: iphone simulator (7.0.3), iphone 5 (6.1.3)