[TIMOB-24567] iOS: Require Swift 3.1 for watchOS templates, remove Swift 2.3 support
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-04-10T16:36:40.000+0000 |
Affected Version/s | Release 6.0.3 |
Fix Version/s | Release 6.2.0 |
Components | iOS |
Labels | n/a |
Reporter | Hans Knöchel |
Assignee | Hans Knöchel |
Created | 2017-04-08T14:00:44.000+0000 |
Updated | 2017-08-24T21:02:24.000+0000 |
Description
Looking at recent Apple changes, Xcode 8.3+ requires developers to use Swift 3. We still support Swift 2.3 although Xcode 8.3 is required for the latest Titanium SDK 6.0.3.GA, so we should align the Swift support to latest as well to align the tooling compatibility.
This will also be important for the upcoming Swift 4 release in September along with iOS 11 and Xcode 9, because Swift 4 will be backwards compatible with 3.1, so we won't have to mess around with Swift 2.3 there anymore - one thing less to struggle with during that time.
titanium_mobile/master: https://github.com/appcelerator/titanium_mobile/pull/8952 ioslib/master: https://github.com/appcelerator/ioslib/pull/56 Note that we need to merge the ioslib one first and update the ioslib version to 1.3.3 in titanium_mobile.
Verified implemented, using: MacOS 10.12.6 (16G24b) Studio 4.9.0.201705302345 Ti SDK 6.2.0.v20170823144824 Appc NPM 4.2.9 Appc CLI 6.2.3 Alloy 1.9.13 Xcode 8.3.3 (8E3004b) & 9.0b6 Watch apps added to projects use swift 3 and target watchOS 3.2 by default.