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

徘徊边缘 提交于 2019-12-04 07:19:37

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

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.

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

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

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

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.

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

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.

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!