logging - My iOS app crashes on start up -


i have been developing ios app , of sudden when start debugger bunch of machine code , halts here:

0x2c70bb:  popl   %ebp 0x2c670bc:  ret 

i no output in log. when run zombies or leaks app runs fine, when use simulator nothing. put breakpointer in first line of code in app delegate , doesn't hit it.

any tips? went in code working code before happened , same thing. ive been developing ios 2 years , first.

i have searched solution have found nothing.

if app delegate not hitting crashing within autorelease pool statement in main.m.

without full stack trace it's difficult debug. i'd recommend following:

  • make sure main window , root xibs ok
  • stripping basics app delegate

also, inside main.m file, should see similar this:

uiapplicationmain(argc, argv, nil, nsstringfromclass([appdelegate class])); 

the fourth argument delegateclassname, , apple docs says:

delegateclassname
name of class application delegate instantiated. if principalclassname designates subclass of uiapplication, may designate subclass delegate; subclass instance receives application-delegate messages. specify nil if load delegate object application’s main nib file.

so double check delegate class name being set either in applications main xib, or in delegate - i'd suggest being explicit , adding if isn't there.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -