Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

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.

— asked November 7th 2010 by sean oreilly
  • builds
  • crash
  • mobile
0 Comments

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 :)

    — answered November 7th 2010 by Paul Dowsett
    permalink
    1 Comment
    • all i needed was a computer restart. i feel like a moron, wasted hours :)

      thanks though

      — commented November 7th 2010 by sean oreilly
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.