App crashes on device but works fine in simulator
i have a very simple ipad app, just a scrollable view with some image views and menus.
it runs flawlessly in the simulator but crashes 80% of the time when run from the device. i am very unexperienced so any help would be appreciated.
you debug crashes on the device by installing the app via xcode right? there are a number of warnings present but i believe the important one is:
@throw [NSException exceptionWithName:@"org.bliss.kroll" reason:[NSString stringWithFormat:@"Couldn't find module: %@",path] userInfo:nil];
theres also GDB: Data Formatters temporarily unavailable, will retry aafter a 'continue' (unknown error loading shared library "/Developer/usr/lib/libXcodeDebuggerSupport.dylib*)
any help would be appreciated. the issue is present in both 1.42 and 1.5 builds.
1 Answer
-
Firstly, make sure you try your code using the latest build, to ensure that it is actually your code causing the issue.
If the problem does not improve, try to whittle your code down to the simplest, shortest app/script that still exhibits the issue. If the problem ceases, add functionality back in piece by piece, until you have isolated the "offending" part.
If this does not work, post your short version to github gist, and we try to help you.
Cheers
Hal
PS Always try to remember to tag your question with your mobile platform :)