Project: appceleratorstudio
Issue TISTUD-6917: Launching iOS simulator ignores the SDK version built into the simulator definition
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: {code} 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 {code} 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.
Story points: 5