Skip to content
This repository was archived by the owner on Oct 5, 2022. It is now read-only.

Swift version is set to "4", not "4.2" when creating projects in Xcode 10.1 #14

Open
helje5 opened this issue Nov 29, 2018 · 2 comments
Labels
enhancement New feature or request

Comments

@helje5
Copy link
Member

helje5 commented Nov 29, 2018

When creating projects in Xcode 10.1, they end up as Swift "4" (4.0) in the Xcode build settings.

My best guess is that Xcode itself peeks into the Package.swift file and finds the

// swift-tools-version:4.0

marker.

We should probably check the Xcode version at installation time, and patch our Package.swift files according to the version.

@helje5 helje5 added the enhancement New feature or request label Nov 29, 2018
@helje5
Copy link
Member Author

helje5 commented Mar 15, 2019

This should be fixed.

@helje5 helje5 closed this as completed Mar 15, 2019
@helje5
Copy link
Member Author

helje5 commented Mar 16, 2019

That still happens, despite the version being 4.2. No idea how/why Xcode determines 4.0 as the version?

@helje5 helje5 reopened this Mar 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant