Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24567] iOS: Require Swift 3.1 for watchOS templates, remove Swift 2.3 support

GitHub Issuen/a
TypeImprovement
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2017-04-10T16:36:40.000+0000
Affected Version/sRelease 6.0.3
Fix Version/sRelease 6.2.0
ComponentsiOS
Labelsn/a
ReporterHans Knöchel
AssigneeHans Knöchel
Created2017-04-08T14:00:44.000+0000
Updated2017-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.

Comments

  1. Hans Knöchel 2017-04-10

    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.
  2. Eric Wieber 2017-08-24

    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.

JSON Source