You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2018/01/30 08:32:00 UTC
[jira] [Resolved] (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 ]
Tobias Bocanegra resolved CB-13824.
-----------------------------------
Resolution: Fixed
Fix Version/s: 4.1.0
> (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
> Fix For: 4.1.0
>
>
> 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