cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-7909) Plugman plugin.xml iOS source-file error
Date Thu, 30 Oct 2014 23:21:33 GMT

    [ https://issues.apache.org/jira/browse/CB-7909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14191018#comment-14191018
] 

Shazron Abdullah commented on CB-7909:
--------------------------------------

Not sure how you are generating the plugin.xml, `plugman create` doesn't create these things,
it just creates the scaffold. How are you creating the plugin?

> 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:
> {code}
> <?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>
> {code}
> Notice that it points to the following source file:
> {code}
>     <source-file src="src/ios/CDVtest4.m" />
> {code}
> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message