Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: Release 3.4.0
-
Component/s: iOS
-
Labels:None
-
Story Points:5
-
Sprint:2014 Sprint 18 Studio
Description
I'm trying to debug an an 8.0 simulator by selecting one from the global toolbar. When I try to launch, it gives me:
Titanium Command-Line Interface, CLI version 3.4.0-rc2, Titanium SDK version 3.4.0.v20140829184521
|
Copyright (c) 2012-2014, Appcelerator, Inc. All Rights Reserved.
|
Please report bugs to http://jira.appcelerator.org/
|
Accepted values:
|
[ERROR] : Invalid "--ios-version" value "7.1"
|
8.0
|
For help, run: titanium help build
|
We passed on 7.1 to the CLI, but the simulator is 8.0 explicitly.
The offending code is in IOSNodeJSCommandsHelper#build. We grab the ios version and sim version from the launch config, and I don't think those use the values from the simulator/device. Later down in the code we grab the device id and get the simulator/device object, but don't use that object's stored version for either value.