John M. Wargo created CB-7909:
---------------------------------

             Summary: Plugman plugin.xml iOS source-file error
                 Key: CB-7909
                 URL: https://issues.apache.org/jira/browse/CB-7909
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugman
    Affects Versions: 4.0.0
            Reporter: John M. Wargo


When creating a plugin and adding a platform to it, for iOS, Plugman creates 
the following plugin.xml:

<?xml version='1.0' encoding='utf-8' ?>
<plugin id="com.sap.me" version="0.0.1" 
xmlns="http://apache.org/cordova/ns/plugins/1.0"; 
xmlns:android="http://schemas.android.com/apk/res/android";>
  <name>test4</name>
  <js-module name="test4" src="www/test4.js">
    <clobbers target="cordova.plugins.test4" />
  </js-module>
  <platform name="ios">
    <config-file parent="/*" target="config.xml">
      <feature name="test4">
        <param name="ios-package" value="test4" />
      </feature>
    </config-file>
    <source-file src="src/ios/CDVtest4.m" />
  </platform>
</plugin>

Notice that it points to the following source file:

    <source-file src="src/ios/CDVtest4.m" />

However, the source folder doesn't contain that file, it has the following: 
src/ios/test4.m.  The file names don't match, this won't work.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to