You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use Carthage (0.20.1): github "mixpanel/mixpanel-swift" ~> 2.1.5
and run carthage update --platform iOS --no-use-binaries
(no error/warning message to run this command)
and clean folder of /Users/ouou/Library/Developer/Xcode/DerivedData
and clean project in Xcode
Then I got following compiling error on Xcode 8.3
:0: error: module compiled with Swift 3.0.2 cannot be imported in Swift 3.1: /Users/ouou/Documents/Project/epc-ios/Carthage/Build/iOS/Mixpanel.framework/Modules/Mixpanel.swiftmodule/x86_64.swiftmodule
The text was updated successfully, but these errors were encountered:
Thanks guys, we tried reproducing it on our end but were not able to. @love4maon did you also issue the carthage update --platform iOS --no-use-binaries command with the --no-use-binaries?
If all fails, I suggest updating to Carthage release 0.20: https://github.com/Carthage/Carthage/releases/tag/0.20.0
Which now uses the prebuilt binary only when it used the same Swift compiler version: Pre-built Swift binaries will only be used if they were built with the same version of the Swift compiler
I use Carthage (0.20.1):
github "mixpanel/mixpanel-swift" ~> 2.1.5
and run
carthage update --platform iOS --no-use-binaries
(no error/warning message to run this command)
and clean folder of /Users/ouou/Library/Developer/Xcode/DerivedData
and clean project in Xcode
Then I got following compiling error on Xcode 8.3
:0: error: module compiled with Swift 3.0.2 cannot be imported in Swift 3.1: /Users/ouou/Documents/Project/epc-ios/Carthage/Build/iOS/Mixpanel.framework/Modules/Mixpanel.swiftmodule/x86_64.swiftmodule
The text was updated successfully, but these errors were encountered: