VS Cordova中iOS的部署错误 [英] Deployement Error for iOS in VS Cordova

查看:265
本文介绍了VS Cordova中iOS的部署错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

VS版  - 2015年Cordova更新3

VS version - 2015 with Cordova update 3

Mac OS - 10.10.4

Mac OS - 10.10.4

iOS  - 9.0

iOS  - 9.0

在iOS的发布模式下构建时,我们会收到以下警告。但是使用ipa和plist创建了release文件夹。

When building in release mode for iOS we get following warnings. But release folder is created with ipa and plist.





因此,当使用应用程序加载器上传ipa时,它会产生以下2个错误。

So when uploading that ipa using application loader it gives following 2 errors.

推荐答案

正如我在这个stackoverflow线程中提到的那样:

As I mentioned in this stackoverflow thread:

在发布专门使用Xcode 7创建的应用时,Cordova的iOS实现似乎存在问题。

There appears to be an issue with Cordova's iOS implementation when publishing apps created specifically using Xcode 7.

A Cordova社区成员发布了一个带有修复功能的cordova-plugin-ipad-multitasking插件。

A Cordova community member has published a "cordova-plugin-ipad-multitasking" plugin with a fix.

http://npmjs.com/package/cordova-plugin-ipad-multitasking

安装此插件,您应该全部设置。未来的Cordova版本将完全解决问题。

Install this plugin and you should be all set. A future Cordova version will resolve the problem fully.

如果您使用remotebuild,那么您也可以在〜/ .taco_home / remote-builds /下找到本机项目。玉米面豆卷的远程/构建和使如在这个问题上科尔多瓦错误

Failing that, if you are using remotebuild you can also find the native project under ~/.taco_home/remote-builds/taco-remote/builds and make the modifications as described in the Cordova bug on the issue.

编辑:

要解决ITMS-90339,还有第二步你可以在近期修补。抓住 build.xcconfig从cordova-ios repo的3.9.x分支并将其放在res / native / ios / cordova下

To resolve ITMS-90339, there is a second step you can do to patch in the near term. Grab the build.xcconfig from the 3.9.x branch of the cordova-ios repo and place this under res/native/ios/cordova

现在删除这一行:

CODE_SIGN_RESOURCE_RULES_PATH = $(SDKROOT)/ResourceRules.plist

请注意,如果升级到包含即将发布的完整补丁的版本,则需要删除此自定义build.xcconfig文件。

Note that you will want to remove this custom build.xcconfig file if you upgrade to the version with the full patch that is forthcoming.

这篇关于VS Cordova中iOS的部署错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆