5

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 ?

Ahmad Amin
  • 107
  • 1
  • 6
  • I get the same error. Tiapp.xml is set `3.2.0.GA`, `alloy -version 1.3.0`, Studio version `3.2.0.201312191547`. I get this error regardless, but ONLY if I try to build for distro. And, yes, I have my Apple distro certs in my keychain. – Mike S. Feb 06 '14 at 16:01

9 Answers9

9

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

Anand
  • 744
  • 1
  • 8
  • 14
  • You can also set 3.2.0.GA in TiApp Editor (http://i.imgur.com/n1rZDCG.png), just noticed if you want to use iOS 6 you must set 3.1.3.GA. – neosergio Dec 24 '13 at 12:56
1

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.

Mitul Bhalia
  • 1,217
  • 1
  • 7
  • 8
1

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 to 3.2

vvns
  • 3,548
  • 3
  • 41
  • 57
0

Same issue.

Work fine with ti SDK 3.2.0

  • Ti SDK : 3.1.3.GA
  • Ti: 3.2.0
  • Alloy: 1.4.0 or 1.3.0
  • OS: mac os x 10.9.1
0

Same issue here. Problem seems to be solved when building with the 3.2.0 SDK, however then other issues emerge.

0

I figured this out by just loading the xcode project from the 'build' folder and seeing the actual error that xcode was throwing. it told me that I had a 'module' that no longer supported 'NavigationGroup' class. I also installed the latest xcode updates and the latest Ti.Studio.

29er
  • 8,595
  • 12
  • 48
  • 65
0

You need to change your sdk version in order to make it work with 7.0.3. From the console:

ti sdk select 3.2.0.GA

You can find more info in the CLI documentation

Also make sure you update your tiapp.xml file as @Anand suggested

alejo
  • 317
  • 3
  • 10
0

An update for Titanium SDK 3.1.3 has been released, the thing is 3.1.3 only supported up to iOS simulator 7.0, but now Appcelerator added support for 7.0.3.

Uriel Arvizu
  • 1,876
  • 6
  • 37
  • 97
0

Open ti.xml file Under Build Properties, find the Titanium SDK field. Select 3.2.0.GA

If it is not an option, go to menu option Help > Check for Titanium Updates

Craig Conover
  • 4,710
  • 34
  • 59