简体   繁体   English

无法在iPhone模拟器上运行新的Titanium应用

[英]Unable to run new Titanium app on iPhone simulator

Just created a new project and when trying to run on iPhone simulator I get the following error: 刚创建了一个新项目,当尝试在iPhone模拟器上运行时,出现以下错误:

Accepted values:
   8.0
[ERROR] :  Invalid "--sim-version" value "7.1"
For help, run: titanium help build

I'm guessing it's due to the xCode update to the new version and the support for iPhone 6. 我猜这是由于xCode更新到新版本以及对iPhone 6的支持所致。

Anyone knows how to solve this? 有人知道如何解决吗?

I'm running against the latest Titanium SDK (3.3.0) 我正在使用最新的Titanium SDK(3.3.0)

You need Ti 3.4.0, so update Titanium (Studio, SDK, NPM), then set up the newest version of Ti SDK in tiapp.xml , clean up your project and that's it! 您需要Ti 3.4.0,因此更新Titanium(Studio,SDK,NPM),然后在tiapp.xml设置Ti SDK的最新版本,然后清理项目即可!

(How to do the update): http://www.appcelerator.com/blog/2014/09/announcing-our-ios-8-support-with-appcelerator-sdkstudio-3-4-0-release/ (如何执行更新): http : //www.appcelerator.com/blog/2014/09/announcing-our-ios-8-support-with-appcelerator-sdkstudio-3-4-0-release/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM