Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15605] CLI: Force iOS version to be no more than 2 digits

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2013-10-29T17:30:50.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 22, 2013 Sprint 22 Core, Release 3.2.0
ComponentsiOS, Tooling
Labelsqe-closed-3.2.0
ReporterChris Barber
AssigneeChris Barber
Created2013-10-29T05:26:37.000+0000
Updated2014-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.

Comments

  1. Chris Barber 2013-10-29

    Master pull request: https://github.com/appcelerator/titanium_mobile/pull/4873
  2. Wilson Luu 2013-12-12

    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:
       [DEBUG] Setting Xcode target to Debug
       [DEBUG] Setting Xcode build OS to iphonesimulator7.0
       
    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:
       [DEBUG] Setting Xcode target to Debug
       [DEBUG] Setting Xcode build OS to iphoneos7.0
       
    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)

JSON Source