Module compiled with swift 4.0 cannot be imported in swift 3.0.2
Try cleaning the project from Product -> Clean in Xcode 8 and build again.
Module compiled with Swift 4.0 cannot be imported in Swift 3.2.2: AudioKit
First If you update the Xcode the Xcode-> preferences-> LocationsTab and change the command line tolls Xcode version.. Now check here
AudioKitReleases
pod 'AudioKit', '~> 4.0.3'
AudioKit V4.0.3 for Xcode 9.1 Pod version according to your Swift language, and update your AudioKit pod by command pod update AudioKit
Module compiled with Swift 3.0 cannot be imported in Swift 2.3
You'll need to change the Use Legacy Swift Language Version
to NO
- this makes sure your project will use swift 3.
If you want to package your project as a POD (for cocoapods) you'll need to add a file named .swift-version (containing 1 single line, "3.0").
This will tell cocoapods to use the swift 3 compiler.
Everything should work after this changes.
Module compiled with swift 3.0 cannot be imported in Swift 3.0.1
SwiftyJson is being downloaded precompiled by carthage. The precompiled download is with Swift Version 3.0. That makes the compiler complain that the version is not correct. Using the following command:
carthage update --platform iOS --no-use-binaries
SwiftyJson (and all other frameworks within Carthage) will be compiled locally using the local version of Swift (3.0.1) and the compiler will not complain anymore.
Related Topics
Is This Safe to Call Wait() of Dispatchsemaphore Several Times at One Time
How to Initialise a New Nsdocument Instance in Swift
App Crashes from IPA File But Runs Fine from Xcode
How to Get the Kvc-String from Swift 4 Keypath
Pop View Controller Using Screen Edge Pan Gesture Recogniser Not Following the Thumb
How to Suppress a Specific Warning in Swift
More Concise Way to Nest Enums for Access by Switch Statements in Swift
How to Have Arview and Arscnview Coexist
Need Help Converting (Cfpropertylistref *)Nsdictionary to Swift
How to Generate an Auth Token Using Jwt for Google Firebase
How to Declare Protocol Property as Private
Convert JSON Anyobject to Int64
Swift 3:Appdelegate Does Not Conform to Protocol Gidsignindelegate
How to Check If Cmtime Is Valid in Swift
How to Set Realtime Thread in Swift
Require Associatedtype to Be Representable in a @Convention(C) Block