[jbosstools-issues] [JBoss JIRA] (JBIDE-21780) Cordova projects exported as native projects fails to run in iOS simulator under XCode

Vineet Reynolds (JIRA) issues at jboss.org
Fri Feb 26 08:57:00 EST 2016


Vineet Reynolds created JBIDE-21780:
---------------------------------------

             Summary: Cordova projects exported as native projects fails to run in iOS simulator under XCode
                 Key: JBIDE-21780
                 URL: https://issues.jboss.org/browse/JBIDE-21780
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: aerogear-hybrid
    Affects Versions: 4.3.1.Beta2
         Environment: Mac OS X 10.11.3 (El Capitan);
XCode 7.2.1;
JBDS 9.1.0 Beta2
iPhone 6 Simulator (iOS 9.2) among others
            Reporter: Vineet Reynolds


Cordova projects with Cordova plugins when exported as native projects appear to have incorrect locations set for config.xml.

A new config.xml appears to be created with default content and none of the Cordova plugins in the configuration, which is incorrect. In addition, the original config.xml file is created/copied into the www/ directory, which is ignored by the build and/or runtime.

When the native project is run in the iOS simulator, it shows errors/warnings that indicate failure in initialising Cordova. Plugins like the Device plugin are not loaded since they cannot be found in the config.xml (assuming the newly created config is overridding the original config), resulting in a failed application start.

The output window shows the following message:

{{ERROR: Plugin 'Device' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.}}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list