将 Xcode 项目从 Cordova 2.2.0 升级到 2.3.0 构建失败:3 个错误“MainCommandDelegate”不能使用“超级”,因为它是根类”
- (id)getCommandInstance:(NSString*)className { return [super getCommandInstance:className]; }
- (BOOL)execute:(CDVInvokedUrlCommand*)command { return [super execute:command]; }
- (NSString*)pathForResource:(NSString*)resourcepath; { return [super pathForResource:resourcepath]; }
和 1 个错误:''MainCommandQueue' 不能使用 'super',因为它是一个根类' - (BOOL)execute:(CDVInvokedUrlCommand*)command { return [super execute:command]; }
请帮忙!非常感谢