Nimble-Snapshots: Failure installing with Carthage

carthage build Nimble-Snapshots --platform ios --toolchain com.apple.dt.toolchain.Swift_3_0_2

Fails with the error:

“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.

I understand this repo is trying to maintain compatibility with Swift 2.3 and Swift 3.0.x, but unfortunately it looks like Xcode now enforces SWIFT_VERSION being set in each target 😕

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 24 (15 by maintainers)

Commits related to this issue

Most upvoted comments

Never mind, rebuilding fixed that 😃

No worries! Thanks for the help. PR coming

I think we’re all good to drop Swift 2.3 🙂. I would just make it clear with a major release.

No rush! I’ll probably do this in the next few days then 😃