Does anybody have an experiencing with refactoring a project built with Xcode 4.3 down to build with 4.1? I get a black screen (not a crash) on load.
If I set a breakpoint on exception, I get an assembly breakpoint.
That leads me to believe that window or something is not getting loaded. I’m not using ARC, and the interface is built with IB. I’m using straight llvm. I have a feeling my problem is in main.
Okay, I got it.
4.1 doesn’t like the way that a Universal app is built, apparently. So, here’s what I did.
replace in main
with this
The important bit is to send the appDelegate to the 4th arg of UIApplicationMain. If it’s nil, it’ll look for the appDelegate in the main nib. Hope this helps someone.