I've started developing a GameKit external for LiveCode on iOS. I've got a basic external compiled for running a GameCenter leader board and it tests great in the simulator. Unfortunately, when I put it into a test stack, build a standalone, and deploy it, the app crashes on the device and I get an ambiguous "Startup error: failed to load external" in the console. This is very strange, because when I insert NSLog messages inside the external's startup function, every function is called. It runs fine in the simulator, but when it comes to the device it crashes every time. I see the same behavior with the sample iOS SDK projects provided by RunRev.
Anyone seen this before? Any pointers? (pun absolutely intended, I've been in C++ code a lot more than usual today)
I plan on releasing my GameKit external's source code to the LiveCode community since there is such a huge need for it, but this is a major blocker to getting it up and running. I guess we could always release apps for users to run on their desktop iPhone simulators, but that doesn't seem very practical.

Thanks,
Brent Anderson