iPhone Debugging: Get a black screen when debugging a universal app -
i working on universal app (4.0.1 sdk) , unable run on ipod touch. works on ipad, , on both ipad simulator , ipod simulator when try launch app on touch, main gets called , can stop @ break point (i assume means provisioning , certs right) nothing after that. there isn't in gdb log. can debug simple "hello world" type app on touch. have suggestions of else try?
- if not using .nib files might want make sure code creates window gets executed: - window = [[uiwindow alloc] initwithframe:[[uiscreen mainscreen] bounds]];
- if using .nib (.xib) files make sure have window appropriately delegated app delegate in interface builder. 
in case subclassing app delegate , accidently removed line calling [super didfinishlaunchingwithoptions...] window being created.
i hope helps someone.
cheers
Comments
Post a Comment