简体   繁体   English

Cordova App-XCode构建失败

[英]Cordova App - Build Failing on XCode

I'm currently running iOS 7.1 beta 5 on my iPhone 5S, and I also am running Xcode51-Beta5. 我目前在我的iPhone 5S上运行iOS 7.1 beta 5,并且我也在运行Xcode51-Beta5。 I'm new to app development in general, but definitely know my way around Xcode and code in general as I come from a PHP background. 我一般是应用程序开发的新手,但是我来自PHP的背景,因此我对Xcode和一般代码的了解一定很清楚。

There is a Hello World application that is compiled with Cordova, which you can open in Xcode to emulate on an iOS device or deploy to your device for testing. 有一个用Cordova编译的Hello World应用程序,您可以在Xcode中打开该应用程序以在iOS设备上进行仿真,或者将其部署到设备上进行测试。

Without tweaking anything, the Hello World app runs fine on all simulators for iOS devices, however, when I attempt to deploy it to my iPhone 5S, I get 10 build errors and it fails. 无需进行任何调整,Hello World应用程序就可以在所有适用于iOS设备的模拟器上正常运行,但是,当我尝试将其部署到iPhone 5S时,出现10个构建错误,但失败。 I tried turning off Code Signing for the project which was suggested in another Stackoverflow question, however, that also didn't work. 我尝试为另一个Stackoverflow问题建议关闭该项目的代码签名,但是,该操作也无效。

The errors I get: http://prntscr.com/2tqqj3 and in more detail: http://prntscr.com/2tqqse 我得到的错误是: http : //prntscr.com/2tqqj3 ,更详细地是: http : //prntscr.com/2tqqse

Any help would be greatly appreciated! 任何帮助将不胜感激!

I'm not familiar with Cordova, but it appears that the required architecture (arm64) for iPhone5S is missing from the library. 我不熟悉Cordova,但似乎库中缺少iPhone5S所需的体系结构(arm64)。 It should work perfectly with non-64-bit devices. 它应与非64位设备完美配合。

This is essentially a duplicate of this question , which has some suggested answers. 这本质上是这个问题的重复,其中有一些建议的答案。

Also see the Apache Cordova JIRA issue at: https://issues.apache.org/jira/browse/CB-6223 另请参阅Apache Cordova JIRA问题, 网址为: https : //issues.apache.org/jira/browse/CB-6223

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

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