[TIMOB-19268] Xcode 7 - App crashes on launch if app is installed on an iOS device < 9.0
GitHub Issue | n/a |
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-07-30T17:06:03.000+0000 |
Affected Version/s | Release 5.0.0 |
Fix Version/s | Release 5.0.0 |
Components | iOS |
Labels | qe-5.0.0 |
Reporter | Wilson Luu |
Assignee | Chee Kiat Ng |
Created | 2015-07-28T21:48:01.000+0000 |
Updated | 2015-07-30T17:17:50.000+0000 |
Description
*Details:* App crashes on launch if app is installed on an iOS device < 9.0.
*Notes:*
* My xcode-select was pointed to Xcode 7 (beta4).
* If I point my xcode-select to Xcode 6.4, then I am able to launch my app on iOS device < 9.0 with current stack.
*Steps to reproduce:*
Make sure your xcode-select is pointing to Xcode 7 (beta): sudo xcode-select -s <PATH_TO_XCODE>
Create a new project from Appc CLI
Install project to an iOS device < 9.0
After app is installed onto device, try launching the app
*Actual:* The app will crash on launch; see attachment for crash logs.
*Expected:* The apps should not crash on launch.
Attachments
Xcode stops you building to device when iOS version is lower than deployment target, see attached screenshot. May just be a beta limitation though
syslog reports:
The crash log says:
My project's iOS Deployment Target is set to 8.2. My device is running 8.4. The problem is my device does not have the iOS 9 specific Contacts framework.
PR here: https://github.com/appcelerator/titanium_mobile/pull/6995
Verified fixed, using: MacOS 10.11 Studio 4.1.1.201507141126 Ti SDK 4.2.0.v20150729122818 Appc NPM 4.1.0 Appc CLI 4.2.0-1 Ti CLI 4.1.2c Alloy 1.6.2 Node v0.10.37 Java 1.7.0_45 preproduction Xcode 7 I am able to build, install, and launch apps on iOS 9 when using Xcode 7.
Reopening to fix Affects Versions field.