Search code examples
iosrubymotiontestflight

Figuring out a TestFlight crash report for a RubyMotion app


I am looking at a crash report in TestFlight for my Ruby Motion app ("Habits") and it's giving me this:

undefined method `active' for nil:NilClass (NoMethodError) 
2 Habits 0x004bd2f3 rb_rb2oc_exc_handler + 163
3 Habits 0x0003a38b main (main.mm:20)...

How do I figure out which line of Ruby code triggered this error?


Solution

  • Running into the same problem... check out this answer:

    https://stackoverflow.com/a/4954949/1740868

    And this blog post:

    http://nofail.de/2013/09/omg-apple-rejected-my-app/

    Basically you would do something like this:

    $ xcrun atos -arch armv7 -o Habits.app 0x004bd2f3