Dorad
Dorad

Reputation: 3713

Errors in cordova+xcode ios build

I am getting the following errors in Application Loader when trying to deliver my app(built in vs2015+cordova+remote xcode 7):

Application Loader errors

Thanks in advance.

Upvotes: 4

Views: 412

Answers (2)

Chuck Lantz
Chuck Lantz

Reputation: 1440

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.

Upvotes: 3

Connor
Connor

Reputation: 64644

By default Cordova doesn't fulfill all of the requirements for multitasking support. (CB-9161) You can follow the steps on that issue to make changes directly to the iOS project for multitasking support.

  1. Use Xcode 7 (Cordova always uses the current SDK)
  2. Click your Project icon in the Project Navigator
  3. Click on your Target
  4. Select the "General" tab
  5. Go to the "Deployment Info" section
  6. Select the "iPad" button segment
  7. For "Device Orientation", select all four checkboxes (Portrait, Upside Down, Landscape Left, Landscape Right)
  8. Add a new File: Launch Screen --> "Launch Screen.storyboard"
  9. Click your Project icon in the Project Navigator
  10. Click on your Target
  11. Select the "General" tab
  12. Go to the "App Icons and Launch Images" section
  13. Select "Launch Screen.storyboard" from the "Launch Screen File" dropdown

Upvotes: 1

Related Questions