Hi Everyone,
I am having an issue trying to get the IOS simulator to run with Ti Studio.
When I try to run a Titanium Mobile project - I get the error:
** [ERROR] Invalid --ios-version value '5.0' Accepted values: 6.0 **
I have the following installed:
Mac OS Version: 10.7.4 Titanium Studio Build: 3.0.1.201210241935 Titanium SDK Version: 3.0.0.v20121025141614 XCode Version: 4.5.1 (4G1004) XCode Simulators: iOS 5.1, 5.0, 4.3
I am also able to run iOS 6.0 simulator from inside of XCode by going to XCode -> Open Developer Tool -> iOS Simulator. I am also able to change the iOS Version from within the iOS Simulator when its started this way
I have seen there was a ticket in JIRA with a similar error but seemed to be related to the CLI. I have installed a newer version of the Ti SDK than the one that is reported in the JIRA ticket that was fixed.
Has anyone else had this issue? This issue started after I upgraded XCODE to 4.5.1.
Thanks Sean
2 Answers
Stephen,
Not sure if this qualifies has the correct answer or not.
I am now able get the simulator to work using the following steps.
1.Found the correct path to XCode after upgrading.
2.Used the following command to set the new path "$ xcode-select -switch /Applications/Xcode.app/Contents/Developer"
3.Open up Titanium Studio -> Preferences --> Titanium Studio --> Titanium --> Refresh.
Now it shows the correct path in IOS SDK Home. Then under run configurations I can now select 6.0 in the dropdown and the simulator works.
Then only issue I am having now is if I change that dropdown to 5.1,5.0, or 4.3 the app will not run and I receive the original error again.
Should I be able to choose other OS's to run my projects ??
Thanks for your help.
Sean
Have you opened your run configuration dialog:

And changed the iOS SDK target there:

Your Answer
Think you can help? Login to answer this question!