You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Patrick Heneise (JIRA)" <ji...@apache.org> on 2014/01/24 11:57:37 UTC

[jira] [Created] (CB-5888) objc_msgSend causes EXC_BAD_ACCESS with plugins

Patrick Heneise created CB-5888:
-----------------------------------

             Summary: objc_msgSend causes EXC_BAD_ACCESS with plugins
                 Key: CB-5888
                 URL: https://issues.apache.org/jira/browse/CB-5888
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS, Plugins
    Affects Versions: 3.3.0
         Environment: Mac OS X latest, iOS7.1
            Reporter: Patrick Heneise


With the plugins I tried so far (Geolocation, PushPlugin) there's an error in CDVCommandQueue line 162:

        objc_msgSend(obj, normalSelector, command);

Causes a EXC_BAD_ACCESS when calling the plugin command (getLocation, register etc...).

Works fine with the uncommented line:

        [obj performSelector:normalSelector withObject:command];

But there's a warning about an unknown selector.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)