开发者

EXC_BAD_ACCESS when using Xcode 4

I upgraded to Xcode 4 last week and I am trying to run a program which I developed in Xcode 3...

In my app, I have a navigation toolbar with a table. when i click any cell of the table, it takes me to my next view and in the navigation bar a button comes up which should take me to my previous page. When i press that button to go to the previous page, the following error pops up..

int retVal = UIApplicationMain(argc, argv, nil, nil); whe开发者_Go百科re the error is Thread 1: Program received signal : "EXC_BAD_ACCESS".

it works perfectly when i run it on xcode 3 but shows this error on xcode 4..

would someone be able to help me out?

Thanks...


Make sure that you don't have any memory leak. To verify if you have memory leak or not in xcode 4 go to the Product menu and click on the analyze and check if there are any memory leak warning and if there are fix them, hopefully that should solve your problem


Turn off Correction in the Inspector.

I had the same problem, and it has something to do with the autocorrection within the simulator.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜