[TIMOB-20106] iOS: Optimise build configuration for projects that include Swift
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Low |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2017-03-06T14:25:51.000+0000 |
Affected Version/s | Release 5.1.1 |
Fix Version/s | n/a |
Components | iOS, Tooling |
Labels | watchOS2 |
Reporter | Fokke Zandbergen |
Assignee | Eric Merriman |
Created | 2015-12-07T20:16:38.000+0000 |
Updated | 2017-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
File | Date | Size |
---|---|---|
project-after.pbxproj | 2015-12-07T20:16:23.000+0000 | 279097 |
project-before.pbxproj | 2015-12-07T20:16:23.000+0000 | 279333 |
Screen Shot 2015-12-07 at 21.02.01.png | 2015-12-07T20:16:34.000+0000 | 102692 |
Screen Shot 2015-12-07 at 21.02.25.png | 2015-12-07T20:16:35.000+0000 | 135237 |
Screen Shot 2015-12-07 at 21.02.32.png | 2015-12-07T20:16:35.000+0000 | 105613 |
Screen Shot 2015-12-07 at 21.02.38.png | 2015-12-07T20:16:35.000+0000 | 106683 |
Newer watchOS implementations fixed this issue. Generated projects do not prompt for Swift migration anymore.
Closing ticket as invalid with reference to the above comment.