Cordova 5 not handling new ios application target in XCode

583 Views Asked by At

I just upgraded to Cordova 5. Any XCode project that has more than one application target causes an error on build.

cordova build ios
could not find -Info.plist file, or config.xml file. 

Steps to recreate:

  1. Create a new Cordova project
  2. Add iOS as a platform
  3. In the XCode project, duplicate the application target to create a new target
  4. Run "cordova build ios"

Currently using XCode 6.3.2 and Cordova 5.1.1

1

There are 1 best solutions below

0
On

There is a pull request with a fix: https://github.com/apache/cordova-lib/pull/219

Until Cordova team fix it, look here:

Second answer