Skip to content
This repository was archived by the owner on Oct 5, 2022. It is now read-only.
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

Description

@helje5

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.

Activity

  1. helje5 commented on Mar 15, 2019

    @helje5
    MemberAuthor

    This should be fixed.

  2. helje5 commented on Mar 16, 2019

    @helje5
    MemberAuthor

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

  3. reopened this on Mar 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions