Deployement Error for iOS in VS Cordova

匆匆过客 提交于 2019-12-04 03:22:48

问题


VS version - 2015 with Cordova update 3

Mac OS - 10.10.4

iOS  - 9.0

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


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


回答1:


As I mentioned in this stackoverflow thread:

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

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

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

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

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.

EDIT:

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

Now remove this line:

CODE_SIGN_RESOURCE_RULES_PATH = $(SDKROOT)/ResourceRules.plist

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.



来源:https://stackoverflow.com/questions/33034658/deployement-error-for-ios-in-vs-cordova

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