Estimote / iOS-Proximity-SDK

Estimote Proximity SDK for iOS
https://developer.estimote.com
Apache License 2.0
61 stars 27 forks source link

Module compiled with Swift 4.1.2 cannot be imported in Swift 4.1.50 #19

Closed Erik262 closed 5 years ago

Erik262 commented 6 years ago

Hello, using Xcode 10 on Mojave 10.14 will couse this error "Module compiled with Swift 4.1.2 cannot be imported in Swift 4.1.50"

Any Solution to Fix that ?

Thanks!

jhkaplan commented 6 years ago

Having same issue. Developing app for iOS 12, getting error "Module compiled with Swift 4.1.2 cannot be imported by the Swift 4.2 compiler. Is there any solution to this?

Erik262 commented 6 years ago

Maybe it could helps you: Go to https://swift.org/download/ Download and install the toolchain for Xcode 9.4. There is a link under "Xcode 9.4" (Toolchain)

Then in Xcode choose: Xcode -> Toolchains -> Swift 4.1.2 Now it should work again :)

jhkaplan commented 6 years ago

Thanks @Erik262, that did help some, although now I get the error "Command CompileSwift failed with a nonzero exit code" when trying to build with this new toolchain. The error disappears when I revert back to the standard Xcode 10 toolchain.

deepeshwp commented 6 years ago

After i revert back to back to the standard Xcode 10 i get back the same error ; Module compiled with Swift 4.1.2 cannot be imported by the Swift 4.2

hishma commented 6 years ago

+1

rogerdalal commented 6 years ago

+1. Same problem. Swift 4.1.2 ToolChain was not a solution.

buechner commented 6 years ago

+1 Swift 4.1.2 ToolChain not helping

przemekblasiak commented 6 years ago

We've just released a version of our SDK with support for Swift 4.2 and the new build system in Xcode 10. It's a pre-release tagged with v1.1.0-swift4.2: https://github.com/Estimote/iOS-Proximity-SDK/releases/tag/v1.1.0-swift4.2

przemekblasiak commented 5 years ago

We brought official support for Swift 4.2 now, with version 1.2.0.