Application type: mobile Titanium SDK: 2.1.2 (08/24/12 14:46 ed7f777) Platform & version: iOS 4.2.1 + Device: iOS device (any) Host Operating System: OSX 10.7 Titanium Studio: Latest
I'm lost for where to look next. Code works perfectly when I use the emulator, and when I deploy to my personal device. If I use the distribution method VIA testflight or creating an IPA file with xcode the code doesn't work correctly. What could be going on here?
Try to do the next:
Connect your device to the computer, open Xcode , Window menu -> Organizer. You should see your device listed here, in the right side. Click on console and try to see what the device is saying when the app starts, it should say why it dies.
Usually the app dies on device despite working on emulator when you are trying to access some resources not there yet. The device is slower than the simulator, so it takes time to create a webview for example. If you try to access the webview before it actually available sometimes it might crash, depending on how you coded the app :)
Use Xcode to get the crash log from the phone, symbolicate it, and post it here.
Think you can help? Login to answer this question!