Skip to content

Xcode 12 or swift 5.3 incompatibility #302

@rkhandelwal17

Description

@rkhandelwal17

Version

0.12.0

Environment

Mac OS X

Description

we are using swift check version 0.12.0 which can be used by frameworks which have been built by xcode 11. Now we are migrating to xcode 12.1 and if we use carthage to download swiftcheck it throws the below error

Incompatible Swift version - framework was built with 5.1.3 (swiftlang-1100.0.282.1 clang-1100.0.33.15) and the local version is 5.3 (swiftlang-1200.0.29.2 clang-1200.0.30.1).

Is there any plans to use swift version 5.3 and compile swift check framework with it

What do we need to do incase we use 0.12.0 and have to make it work with xcode 12.1

Steps To Reproduce

carthage update output

Incompatible Swift version - framework was built with 5.1.3 (swiftlang-1100.0.282.1 clang-1100.0.33.15) and the local version is 5.3 (swiftlang-1200.0.29.2 clang-1200.0.30.1).

Expected Result

Should have been able to build the framework

Actual Result

Incompatible Swift version - framework was built with 5.1.3 (swiftlang-1100.0.282.1 clang-1100.0.33.15) and the local version is 5.3 (swiftlang-1200.0.29.2 clang-1200.0.30.1).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions