You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Gary N Griswold (JIRA)" <ji...@apache.org> on 2017/05/28 04:21:04 UTC
[jira] [Created] (CB-12864) Plugin 'xxxxx' is not found, or is not
a CDVPlugin
Gary N Griswold created CB-12864:
------------------------------------
Summary: Plugin 'xxxxx' is not found, or is not a CDVPlugin
Key: CB-12864
URL: https://issues.apache.org/jira/browse/CB-12864
Project: Apache Cordova
Issue Type: Bug
Components: cordova-ios
Affects Versions: cordova@7.0.0
Environment: Xcode 8.3.2 and cordova iOS 4.4.0
Reporter: Gary N Griswold
I wrote a plugin in which the name of the plugin and the name of the www/XXX.js file were the same, but I named the name of the CDVPlugin subclass a different name. Doing this caused the error that the linker did not include the CDVPlugin subclass. The error was "Plugin 'xxxxx' is not found, or is not a CDVPlugin"
The problem was fixed by changing the name of the CDVPlugin subclass to the same name as the Plugin and the www/XXX.js file.
The following are relevant fragments from the plugin.xml file:
<name>AWS</name>
<js-module name="AWS" src="www/AWS.js">
<clobbers target="AWS" />
</js-module>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="AWS">
<param name="ios-package" value="AWSPlugin" />
</feature>
</config-file>
<source-file src="src/ios/AWSPlugin.swift" />
</platform>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org