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 22:40:00 UTC
[jira] [Updated] (CB-13824) (Swift 4) Plugin class not found
[ https://issues.apache.org/jira/browse/CB-13824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alberto Lalama updated CB-13824:
--------------------------------
Component/s: cordova-ios
> (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-ios, cordova-osx
> Reporter: Alberto Lalama
> Assignee: Tobias Bocanegra
> Priority: Minor
>
> 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