Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Titanium SDK 3.2 [ERROR] : Invalid "--ios-version" value "7.0" 7.0.3

When I upgraded to titanium SDK version 3.2, I had an error when running on iOS says: titanium Invalid "--ios-version" value "7.0" Accepted values: 7.0.3, is there any possible way to solve this ?

like image 455
Ahmad Amin Avatar asked Dec 19 '13 14:12

Ahmad Amin


3 Answers

I had the same issue. I were able to solve it by changing the tiapp.xml node changed

<sdk-version>3.1.3.GA</sdk-version>

to

<sdk-version>3.2.0.GA</sdk-version>

Hope this helps

like image 66
Anand Avatar answered Nov 10 '22 01:11

Anand


minimum iOS version to work with Ti sdk 3.2.0 is 7 so you need to set iOS version to 7.

you can do that by right clicking on your project root folder then choose Run As-> Run Configuration option where you can set ios sdk.

like image 1
Mitul Bhalia Avatar answered Nov 10 '22 00:11

Mitul Bhalia


Not really a fix. I have changed my project's sdk version to 3.2.0.GA (updated) then build my application via cli and execute the following command on the project directory:

titanium build --platform ios --ios-version 7.0.3

App build successfully (no errors encountered) and it opens the iOS simulator v7.0.3.


Update: Issue no longer encountered after updating titanium-studio to 3.2

like image 1
vvens Avatar answered Nov 10 '22 00:11

vvens