You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2013/01/30 19:31:13 UTC

[jira] [Resolved] (CB-2309) Upgrading project from 2.2.0 to 2.3.0 causes Main Command Delegate cannot use 'super'

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

Shazron Abdullah resolved CB-2309.
----------------------------------

    Resolution: Not A Problem
    
> Upgrading project from 2.2.0 to 2.3.0 causes Main Command Delegate cannot use 'super'
> -------------------------------------------------------------------------------------
>
>                 Key: CB-2309
>                 URL: https://issues.apache.org/jira/browse/CB-2309
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.3.0
>         Environment: Xcode 4.5.2
>            Reporter: Hichem
>            Assignee: Shazron Abdullah
>              Labels: 2.3.0, cordova, phonegap, xcode
>
> When upgrading the project from 2.2.0 to 2.3.0 Build failed : 3 errors ''MainCommandDelegate' cannot use 'super' because it is a root class'
> - (id)getCommandInstance:(NSString*)className
> {
>     return [super getCommandInstance:className];
> }
> - (BOOL)execute:(CDVInvokedUrlCommand*)command
> {
>     return [super execute:command];
> }
> - (NSString*)pathForResource:(NSString*)resourcepath;
> {
>     return [super pathForResource:resourcepath];
> }
> and 1 error : ''MainCommandQueue' cannot use 'super' because it is a root class'
> - (BOOL)execute:(CDVInvokedUrlCommand*)command
> {
>     return [super execute:command];
> }
> Please Help ;) 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira