开发者

Confused by earlier errors - Bailing out

开发者 https://www.devze.com 2023-03-05 12:45 出处:网络
I am getting an unusual error whe开发者_运维百科n I try building or running my iphone game. //GameScene.mm

I am getting an unusual error whe开发者_运维百科n I try building or running my iphone game.

//GameScene.mm

- (void) onExit  
{  
    if(!([SimpleBox2dScrollerAppDelegate get].paused))  //error comes here
    {  
        [SimpleBox2dScrollerAppDelegate get].paused = YES;  
        [super onExit];  
    }   
}  

// SimpleBox2dScrollerAppDelegate.mm

+(SimpleBox2dScrollerAppDelegate *) get {  

    return (SimpleBox2dScrollerAppDelegate *) [[UIApplication sharedApplication] delegate];  
}  

What might be the reason?


It is nothing , probably you get a number of errors after that you did changes and get this kind of error.

follow thes steps it may be solve your problem.

-Delete the app from simulator. -clean the all target. -empty cache. -delete build

Now try to run.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号