cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-13824) (Swift 4) Plugin class not found
Date Tue, 30 Jan 2018 08:32:00 GMT

     [ 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


Mime
View raw message