Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deployement Error for iOS in VS Cordova

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.

enter image description here

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

enter image description here

like image 542
Sameera R. Avatar asked Oct 09 '15 09:10

Sameera R.


People also ask

Does Cordova work for iOS?

Cordova iOS is an iOS application library that allows for Cordova-based projects to be built for the iOS Platform.

What is the latest version of Cordova iOS?

Cordova iOS 6.2. 0 Released! We are happy to announce that we have just released Cordova iOS 6.2.


1 Answers

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.

like image 75
Chuck Lantz Avatar answered Oct 17 '22 22:10

Chuck Lantz