开发者

How to debug "exited with code 5" on Simulator

Is there a good way to debug "exited with code 5" runtime error on the iPhone Simulator?

I know this must be a real NOOB question, but any tips would be appreciated. Thanks.

I am trying to follow along with the "Build your First iPhone App" tutorial on DevCenter and it seems that I started getting the error when I tried to customize the MyViewController UILabel a little too much.

Edit:

Nevermind - I was using the "Build and Debug" option in XCode, which launches the Simulator and causes it to exit with code 5 right away, but when I launch my app a second time, by clicking on the icon, it works fine.

Also - I tried cleaning my targets - and now开发者_Go百科 it doesn't ever give me the code 5.


I was using the "Build and Debug" option in XCode, which launches the app in the Simulator and causes it to exit with code 5 right away the first time. When I launched my app a second time, by clicking on the icon in the Simulator, it worked fine.

Also - I tried cleaning my targets - and now it doesn't ever give me the code 5.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜