You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Alberto Lalama (JIRA)" <ji...@apache.org> on 2018/01/23 17:22:00 UTC
[jira] [Created] (CB-13824) (Swift 4) Plugin class not found
Alberto Lalama created CB-13824:
-----------------------------------
Summary: (Swift 4) Plugin class not found
Key: CB-13824
URL: https://issues.apache.org/jira/browse/CB-13824
Project: Apache Cordova
Issue Type: Bug
Components: cordova-osx
Reporter: Alberto Lalama
Assignee: Tobias Bocanegra
After upgrading to Xcode 9.2 (Swift 4), some plugins were not found. Plugin method execution fails with the following message: "CDVPlugin class X (pluginName: Y) does not exist".
Closer inspection reveals that NSClassFromString returns nil for plugins implemented in Swift. Prefixing the class with the module name fixes the issue.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org