kstenerud/iOS-Universal-Framework — Issue #46: Runs fine in simulator, but crashes on device
Author: DeweyOx
Created: 2012-02-24 17:06:01+00:00
State: open

Using a Fake framework, compiles OK, but when the framework is placed into another project, that project runs perfectly in the simulator, but throws a EXC_BAD_INSTRUCTION when trying to run a method in the framework. Allocating a class in the framework seems to work ok, but running a method on it crashes.

Is there a setting or something I'm missing when creating the framework that will ensure it works on a device? The framework project has armv6 and armv7 architectures in the build settings (I'm also using the latest code, downloaded today).

Any ideas would be greatly appreciated.