14

I am testing out Swift 3 with Xcode 8 Beta (8S128d), which leads me to a situation where my Carthage-built libraries are not compatible with the source base.

Module file was created by an older version of the compiler; rebuild 'SwiftValidator' and try again.

How can I configure Carthage so that carthage update uses the Beta compiler rathe rthan the standard one?

1 Answer 1

23

I moved the Beta into /Applications.

sudo xcode-select -s /Applications/Xcode-beta.app/ sets the Xcode to be used to the beta.

carthage update --platform iOS --no-use-binaries builds the libraries for iOS and prevents Carthage from downloading existing (yet incompatible) precompiled binaries.

2
  • I get the following types of errors when running the 2nd step The following build commands failed: CompileSwift normal arm64 /Users/noah/Desktop/XCode/PKS+SS/Carthage/Checkouts/SQLite.swift/SQLite/Typed/CoreFunctions.swift CompileSwift normal arm64 /Users/noah/Desktop/XCode/PKS+SS/Carthage/Checkouts/SQLite.swift/SQLite/Extensions/R*Tree.swift CompileSwift normal arm64 /Users/noah/Desktop/XCode/PKS+SS/Carthage/Checkouts/SQLite.swift/SQLite/Core/Blob.swift (5 failures)
    – Noah
    Jul 1, 2016 at 4:20
  • 1
    @noah check this thread out github.com/Alecrim/AlecrimCoreData/issues/35
    – Kheldar
    Jul 1, 2016 at 8:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.