Closed Erik262 closed 5 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?
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 :)
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.
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
+1
+1. Same problem. Swift 4.1.2 ToolChain was not a solution.
+1 Swift 4.1.2 ToolChain not helping
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
We brought official support for Swift 4.2 now, with version 1.2.0.
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!