I developed an app with Xcode 3.2.3 and iphone SDK 4.0, it works fine on both iPhone 3GS and 3G if I run it directly with xcode.
However, if I download and install the app from appstore, it crashes at the launch screen for iPhone 3G and iPod Touch. (But works on 3GS with OS 3.1.3 or iOS 4.0)
The device log shows the following:
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x00000001, 0x00000000
Crashed Thread: 0
Thread 0 Crashed:
0 Dove 0x000762aa +[TTNavigator navigator] (TTNavigator.m:59)
1 Dove 0x000035ce -[Around01AppDelegate applicationDidFinishLaunching:] (Around01AppDelegate.m:85)
2 UIKit 0x00004e88 -[UIApplication _performInitializationWithURL:sourceBundleID:] + 540
3 UIKit 0x00004a60 -[UIApplication _runWithURL:sourceBundleID:] + 576
4 UIKit 0x00055df8 -[UIApplication handleEvent:withNewEvent:] + 1516
5 UIKit 0x00055634 -[UIApplication sendEvent:] + 60
6 UIKit 0x0005508c _UIApplicationHandleEvent + 4528
7 GraphicsServices 0x00005988 PurpleEventCallback + 1044
8 CoreFoundation 0x00057524 CFRunLoopRunSpecific + 2296
9 CoreFoundation 0x00056c18 CFRunLoopRunInMode + 44
10 UIKit 0x00003c00 -[UIApplication _run] + 512
11 UIKit 0x00002228 UIApplicationMain + 960
12 Dove 0x00003086 main (main.m:26)
13 Dove 0x00002ec8 start + 44
Anyone knows how to fix this? Thanks!