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

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

Hichem created CB-2309:
--------------------------

             Summary: 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



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