I'm relatively new to iOS programming. I 've made some apps to the 6.0 emulator and I tried to run them in the 5.1 emulator.
They all crash in [self.window makeKeyAndVisible];
in appdelegate.mm
didFinishLaunchingWithOptions
. Note that I had to enable "add exception breakpoint" for this to show up.
- Where can I see a crash log in xcode?
- Can I tell xcode to warn me on new APIs ? I found in a similar question the snippet in the PCH but I 'm not sure what to put in order to work.
- I understand that the problem may occur because of an error in the XIB file. How can I detect these possible errors?
Edit: Yes I started with an empty XIB and it doesn't crash.So it must be a XIB error. How can I detect what sort of errors they might be? I removed all connections/outlets from a simple xib with 1 image and 2 buttons - still crash.
M.