You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2014/01/02 16:28:51 UTC

[jira] [Resolved] (CB-4696) Can't build iOS CDVNotification.m in Dialog Plug-in

     [ https://issues.apache.org/jira/browse/CB-4696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Grieve resolved CB-4696.
-------------------------------

    Resolution: Fixed

Easy fix! Thanks for pointing this out. I've made the change.

Will make it into the next version of the plugin after: 0.2.5-dev

> Can't build iOS CDVNotification.m in Dialog Plug-in
> ---------------------------------------------------
>
>                 Key: CB-4696
>                 URL: https://issues.apache.org/jira/browse/CB-4696
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS, Plugin Dialogs
>    Affects Versions: 3.0.0
>         Environment: MacOS XCode 4.5
>            Reporter: David Peacock
>            Assignee: Andrew Grieve
>
> Create a cordova project, add the dialog plug-in and try to build (XCode/Cordova build).  The build fails with an error in CDVNotification.m.  The issue is in playBeep() where it calls soundCompletionCallback.  The error is "Use of undeclared identifier 'soundCompletionCallback'".  Both soundCompletionCallback and playBeep are static methods which call each other.  They need to be declared explicitly first.



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