Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18781] iOS: 7.1 Simulator not recognized in CLI. Builds fail

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-04-10T22:17:03.000+0000
Affected Version/sRelease 4.0.0
Fix Version/sRelease 4.0.0
ComponentsCLI
Labelsqe-4.0.0
ReporterEric Wieber
AssigneeChris Barber
Created2015-04-06T18:18:13.000+0000
Updated2015-04-13T19:08:13.000+0000

Description

After installing the iOS 7.1 Simulator in Xcode 8.3, performing an appc ti info -t ios does not list the 7.1 Sim or SDK as installed:
Xcode
  6.3 (build 6D554n) - Xcode default
    Install Location          = /Applications/Xcode/6.3b4/Xcode-beta.app/Contents/Developer
    iOS SDKs                  = 8.3
    iOS Simulators            = 8.3
    Supported by TiSDK 4.0.0.Beta2 = yes
*Steps to reproduce issue*: 1. Install the iOS 7.1 Simulator in Xcode 8.2+ 2. Run appc ti info -t ios 3. Try to run a project in Studio using the 7.1 simulator *Actual Results*: 2. The simulator is not listed as installed under Xcode 3. The build will fail with:
[ERROR] :  Invalid "--sim-version" value "7.1"
Accepted values:
   8.3
For help, run: titanium help build
titanium exited with exit code 1
*Expected Results*: 2. The 7.1 simulator is correctly listed as installed 3. The build will succeed

Comments

  1. Chris Barber 2015-04-07

    ioslib PR: https://github.com/appcelerator/ioslib/pull/12 (merged) timob master PR: https://github.com/appcelerator/titanium_mobile/pull/6768 timob 4_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/6769
  2. Eric Wieber 2015-04-13

    Verified fixed using: SDK 4.0.0.v20150412195810 Studio 4.0.0.201504101208 Appc CLI 0.2.241 Appc NPM 0.3.44 Xcode 6.3 iOS 7.1, 8.1, 8.2, 8.3 simulators Able to successfully build and run on all versions of simulators.

JSON Source