[TIMOB-19073] iOS9: Xcode 7 (beta 2)/iOS 9 are unsupported
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Critical |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2015-07-28T08:43:58.000+0000 |
| Affected Version/s | Release 4.1.0 |
| Fix Version/s | Release 5.0.0 |
| Components | iOS |
| Labels | qe-4.1.0, qe-5.0.0, simulator, xcode |
| Reporter | Eric Wieber |
| Assignee | Chris Barber |
| Created | 2015-06-24T16:28:10.000+0000 |
| Updated | 2015-08-27T19:52:49.000+0000 |
Description
I am unable to build for iOS via Studio when using iOS 9 and Xcode 7. Combine this with MacOS 10.11 not allowing the use of any Xcode less than Xcode 7 and the user is left not able to build for iOS, after updating.
*Steps to reproduce issue*
1. Install Xcode 7
2. Create a new Titanium project
3. Attempt to run that project on a iOS 9.0 Sim or device from Studio
*Actual Results*
You are unable to run the project
*Expected Results*
The project can be run on iOS 9.
*Notes*
The iOS 9 simulators are not detected by
appc ti info -t ios
If using appc run -p ios -T device, you are able to run the project. Simulator will fail via CLI.
Running ios-sim against Xcode 7 yields the following:
I'm not sure how to fix this. I'm not sure what/where dvtiPhoneSimulatorBundle is. Perhaps it's time to abandon2015-06-25 10:24:37.273 ios-sim[47237:5232577] Error loading /Applications/Xcode-7.0-beta2.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin/Contents/MacOS/IDEiOSSupportCore: dlopen(/Applications/Xcode-7.0-beta2.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin/Contents/MacOS/IDEiOSSupportCore, 265): Symbol not found: _OBJC_CLASS_$_XCMacroExpansionScope Referenced from: /Applications/Xcode-7.0-beta2.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin/Contents/MacOS/IDEiOSSupportCore Expected in: /Applications/Xcode-7.0-beta2.app/Contents/OtherFrameworks/DevToolsCore.framework/DevToolsCore in /Applications/Xcode-7.0-beta2.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin/Contents/MacOS/IDEiOSSupportCore [ERROR] Failed to load dvtiPhoneSimulatorBundle.ios-simin favor of wrappingsimctl. The PhoneGap team has already done this: https://github.com/phonegap/simctl. It should be easy to drop it intoioslib. Relying onsimctlinstead of private frameworks was recommended by a good friend and he's never been wrong except that one time. :)ioslib PR: https://github.com/appcelerator/ioslib/pull/19.
Verified fixed, using: MacOS 10.11 (15A263e) Studio 5.0.0.201508271032 Ti SDK 5.0.0.v20150827102632 Appc NPM 4.2.0-1 Appc CLI 5.0.0-24 Ti CLI 4.1.5 Alloy 1.7.5 Arrow 1.2.48 Xcode 7.0 (7A192o) Node v0.10.37 Java 1.7.0_45 preproduction Can successfully create, build, and run projects when using Xcode 7 and iOS 9 Simulators or devices.