Project: titanium
Issue TIMOB-17651: CLI: Running "ti build -p iOS --ios-version 7.1" command gives an error as invalid value even if Xcode 5.1.1 is installed on the test machine.
Description: The test machine is having installation for Xcode 5.1.1 and Xcode 6 beta 7 in applications. Running "ti build -p iOS --ios-version 7.1" command gives error message as invalid value and prompt the user with iOS SDK version 8.0 option only as a valid value. This is a regression. With CLI 3.3.0 and Titanium SDK 3.3.0.GA, I am able to choose the installed iOS SDK version. STEPS TO REPRODUCE 1. Open a terminal window 2. Create a project and you have to "cd" to this project to be able to run command "build". 3.Run "ti build -p iOS --ios-version 7.1" command. EXPECTED RESULT 3.Project should build successfully with IOS SDK Version 7.1 and respective Xcode. ACTUAL RESULT 3. CLI gives an error message for IOS SDK 7.1 as invalid value.It gives IOS SDK 8.0 only as a valid value for the latest CLI and Titanium SDK. KAGRAWAL-MBP:apple kagrawal$ ti build -p ios --ios-version 7.1 Titanium Command-Line Interface, CLI version 3.4.0-beta, Titanium SDK version 3.4.0.v20140908144913 Copyright (c) 2012-2014, Appcelerator, Inc. All Rights Reserved. Please report bugs to http://jira.appcelerator.org/ [ERROR] Invalid "--ios-version" value "7.1" Which iOS SDK version would you like to build with? 1) 8.0 Select an iOS SDK version by number or name:
Story points: 5