(Solved) NSRangeException on iPod but not on iPad or iPhone Simulator
(Solved) NSRangeException on iPod but not on iPad or iPhone Simulator
- Subject: (Solved) NSRangeException on iPod but not on iPad or iPhone Simulator
- From: Philip McIntosh <email@hidden>
- Date: Wed, 07 Dec 2011 18:20:47 -0700
However when I load in on an armv6 iPod it works mostly perfectly except when I try to divide by zero (or try to operate on numbers that do not have legal decimal point formatting) it crashes.
Try turning off thumb when deploying to armv6 (add -mno-thumb to your Other C Flags in project settings). There is a compiler bug where thumb generation where it may generate invalid code in places.
Well son of a gun Dave that did it. Should that turned off on all projects no matter what? I guess I still have a lot of research to do (starting with figuring out what the heck thumb generation is) to make sure it is compiling correctly for armv6 (but I do need it run on both armv6 and armv7, and iOS 4.2.1 - 5), but that one change has eliminated the crashes. BTW, the iPod is running 4.2.1. Thanks a lot.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden