Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20106] iOS: Optimise build configuration for projects that include Swift

GitHub Issuen/a
TypeImprovement
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2017-03-06T14:25:51.000+0000
Affected Version/sRelease 5.1.1
Fix Version/sn/a
ComponentsiOS, Tooling
LabelswatchOS2
ReporterFokke Zandbergen
AssigneeEric Merriman
Created2015-12-07T20:16:38.000+0000
Updated2017-03-29T16:43:15.000+0000

Description

With TIMOB-19455 resolved WatchOS projects written in Swift work fine, but when you open the Xcode project in build/iphone it does say the Swift code needs to be updated (see screenshots). After examining the project it finds that no actual source code needs to be updated, but it does make changes to the project.pbxproj file. I've attached the before and after to see the differences. We can probably optimise the project file we generate. Which might be relevant not only for projects that embed Swift but also others.

Attachments

FileDateSize
project-after.pbxproj2015-12-07T20:16:23.000+0000279097
project-before.pbxproj2015-12-07T20:16:23.000+0000279333
Screen Shot 2015-12-07 at 21.02.01.png2015-12-07T20:16:34.000+0000102692
Screen Shot 2015-12-07 at 21.02.25.png2015-12-07T20:16:35.000+0000135237
Screen Shot 2015-12-07 at 21.02.32.png2015-12-07T20:16:35.000+0000105613
Screen Shot 2015-12-07 at 21.02.38.png2015-12-07T20:16:35.000+0000106683

Comments

  1. Hans Knöchel 2017-03-06

    Newer watchOS implementations fixed this issue. Generated projects do not prompt for Swift migration anymore.
  2. Lee Morris 2017-03-29

    Closing ticket as invalid with reference to the above comment.

JSON Source