Hi all, I've been running into this issue for the last few days now, and I'm stumped. I'm running Titanium mobile sdk 1.7.1, and while running the basic kitchen sink project, it only fully loads on iOS 5. On all others, it shows the kitchen sink loading image, and then closes to the home screen. I'm extremely lost as to why the apps would load on iOS 5, but not any of the earlier iOS sdks. Let me know if you need any more information.
The entire console is as follows:
[INFO] One moment, building ... [TRACE] app property, ti.android.debug : false [TRACE] app property, ti.facebook.appid : 134793934930 [TRACE] app property, ti.android.google.map.api.key.development : 0ZnKXkWA2dIAu2EM-OV4ZD2lJY3sEWE5TSgjJNg [TRACE] app property, ti.android.google.map.api.key.production : GET_ME_FROM_GOOGLE [DEBUG] Detecting modules in /Users/TLuthra/Downloads/appcelerator-KitchenSink-c094fc2/modules [DEBUG] Detecting modules in /Library/Application Support/Titanium/modules [INFO] Titanium SDK version: 1.7.1 [INFO] iPhone Device family: universal [INFO] iPhone SDK version: 4.3 [INFO] iPhone simulated device: iphone [INFO] Detected compiler plugin: ti.log/0.1 [INFO] Compiler plugin loaded and working for ios [INFO] Compiling localization files [DEBUG] compiled ios file: /Users/TLuthra/Downloads/appcelerator-KitchenSink-c094fc2/build/iphone/build/Debug-iphonesimulator/appcelerator-KitchenSink-c094fc2.app/en.lproj/Localizable.strings [DEBUG] compiled ios file: /Users/TLuthra/Downloads/appcelerator-KitchenSink-c094fc2/build/iphone/build/Debug-iphonesimulator/appcelerator-KitchenSink-c094fc2.app/es.lproj/InfoPlist.strings [DEBUG] compiled ios file: /Users/TLuthra/Downloads/appcelerator-KitchenSink-c094fc2/build/iphone/build/Debug-iphonesimulator/appcelerator-KitchenSink-c094fc2.app/es.lproj/Localizable.strings [INFO] Detected custom font: comic_zine_ot.otf [DEBUG] executing command: /usr/bin/killall iPhone Simulator [DEBUG] finding old log files [DEBUG] executing command: mdfind -onlyin /Users/TLuthra/Library/Application Support/iPhone Simulator/4.3 -name 6fe33f33fd1f4e95a06d2d217170866d.log [INFO] Launching application in Simulator [INFO] Launched application in Simulator (1.52 seconds) [DEBUG] executing command: xcodebuild -version [DEBUG] Xcode 4.2 [DEBUG] Build version 4C114 [INFO] Found 4.3.2 patch installed [INFO] Application has exited from Simulator
It's because Apple doesn't want you building apps for the App Store on anything but Xcode 4.0.2 and iOS 4.3, so they disallow you to build anything but iOS 5 on Xcode 4.2 for the time being.
I simply uninstalled Xcode 4.2 and re-installed Xcode 4.0.2 from the iOS Developer Center and it worked perfectly on both my iOS 4.3 device and iOS 5 beta 3 device. I could also distribute to the App Store fine.
Think you can help? Login to answer this question!