Moya: Error while updating Moya with carthge
Hello,
I’m using carthage version 0.26.2, and when trying to update with carthage update --platform iOS
I get, only for Moya, this error:
*** Skipped installing Moya.framework binary due to the error:
"Incompatible Swift version - framework was built with 4.0 (swiftlang-900.0.65.2 clang-900.0.37) and the local version is 4.0.2 (swiftlang-900.0.69.2 clang-900.0.38)."
*** Checking out Moya at "10.0.0"
Here is my Cartfile:
github "Moya/Moya" "10.0.0"
Would you have any idea of why or how I could make this work ?
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 2
- Comments: 27 (14 by maintainers)
I’m seeing a similar issue with the now latest swift
Apple Swift version 4.0.3 (swiftlang-900.0.74.1 clang-900.0.39.2)
but the log shows a different errorOh snap, it could be it @BasThomas. Damn it, I knew SwiftLint build step is hard to do against Carthage installation process, still didn’t have time to properly test it. Linting errors/warnings shouldn’t prevent users from installing Moya, so we need to fix it ASAP.
@sunshinejr
remove_swiftlint_buildphase
works like a charmTo those who have this issue, as a quick fix you can remove the swift lint in the build phase of the
Carthage/Checkouts/Moya/Moya.xcodeproj
of the 3 targets and runcarthage build --plateform iOS