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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to