Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26770] iOS: Use Swift 5 by default

GitHub Issuen/a
TypeImprovement
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2019-07-09T17:38:53.000+0000
Affected Version/sn/a
Fix Version/sRelease 8.1.0
ComponentsiOS
Labelsn/a
ReporterHans Knöchel
AssigneeJan Vennemann
Created2019-01-26T23:37:46.000+0000
Updated2019-08-08T09:32:31.000+0000

Description

iOS should use Swift 4.2 by default, especially as Swift 5 is ready to be released soon and currently Swift 3.1 (not forwards compatible) is used in module- and project-templates.

Comments

  1. Hans Knöchel 2019-01-26

    PR: https://github.com/appcelerator/titanium_mobile/pull/10830 SDK 8+ modules to test with: - https://github.com/appcelerator-modules/titanium-onboarding - https://github.com/prashantsaini1/titanium-imagepicker/
  2. Hans Knöchel 2019-04-06

    Updated to use Swift 5, which ships with Xcode 10.2.
  3. Jan Vennemann 2019-06-18

    Created https://github.com/appcelerator/titanium_mobile/pull/10974 that only includes the module template updates to speed things up. The warnings will then be addressed separately in TIMOB-27163.
  4. Vijay Singh 2019-06-18

    [~jvennemann] Can you backport for 8_1_X please? Thanks!
  5. Jan Vennemann 2019-06-18

    8_1_X backport added: https://github.com/appcelerator/titanium_mobile/pull/10977
  6. Keerthi Mahalingam 2019-07-01

    Did FR for 8_1_X PR and not able to test on master PR .[~jvennemann] please resolve the conflict on master PR
  7. Jan Vennemann 2019-07-01

    [~kmahalingam], the master PR for this is https://github.com/appcelerator/titanium_mobile/pull/10974, not the initial PR from Hans.
  8. Keerthi Mahalingam 2019-07-01

    FR passed. PR merged on master and 8_1_X
  9. Keerthi Mahalingam 2019-07-09

    Verified the fix on sdk 8.2.0.v20190709091225 and 8.1.0.v20190709083308. no error on build modules.Works as expected. Closing. Test Environment:
       Operating System 
         Name                        =  Mac OS X 
         Version                     =  10.14.5 
         Architecture                =  64bit 
         CPUs                      =  12 
         Memory                      =  17179869184 
        Node.js 
         Node.js Version             =  10.13.0 
         npm Version                 =  6.4.1 
       Titanium CLI 
         CLI Version                 =  5.2.1 
        Titanium SDK 
         SDK Version                 =  8.1.0.v20190709083308  and 8.2.0.v20190709091225
       CLI =7.1.0-master.24
       Studio version =5.1.3.201907081944
       
  10. Brian García 2019-08-08

    With this changes I'm still unable to see logs in my app
  11. Jan Vennemann 2019-08-08

    [~bgarcia], please see TIMOB-26861 for the logging issues in native modules.

JSON Source