views:

55

answers:

3

Hi all,

I just installed the new XCode with iPhone SDK 4.0. On my project, I set version 4.0 as my base version, as deployment target, 3.0 is selected.

Before the update, everything went fine. Now, if I run the iPad simulator, everything still works fine. But when I try to run it in the iPhone simulator, the app crashes before the start. I don't even come to the first line in appDidFinishLaunching. What am I doing wrong?

Thanks a LOT,

Stefan

A: 

Is the target SDK iPhoneSimulator 3.2? By default the target is iPhoneSimulator 4.0.

efelton
it doesn't matter if i set it to 3.2 or 4.0 - the app crashes both times...
swalkner
A: 

after some hours of searching, I finally found the problem: I had to switch the "generate profiling code" option off...

swalkner
A: 

where is the swith: "generate profiling code" option?

Nick
select target => get info => build tab => "generate profiling code"... found it?
swalkner