Moya: xcode 11.2.1 swift 5.1 carthage error
Hi , we updated xcode to version 11.2.1 with swift version 5.1 recently . Both of moya version13 and version14 gave errors likes this
carthage bootstrap Moya --platform iOS --no-use-binaries
*** Checking out Moya at "14.0.0-beta.5"
*** Checking out ReactiveSwift at "5.0.1"
*** Checking out Alamofire at "4.9.1"
*** Checking out RxSwift at "4.5.0"
*** xcodebuild output can be found in /var/folders/86/_5vgd1fj5nscjbtrzyrzx0sw0000gq/T/carthage-xcodebuild.JVRVlf.log
*** Building scheme "Alamofire iOS" in Alamofire.xcworkspace
*** Building scheme "Result-iOS" in Result.xcodeproj
*** Building scheme "ReactiveSwift-iOS" in ReactiveSwift.xcworkspace
Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -workspace /Users/eric/workspace/n2boost/jugg5/Carthage/Checkouts/ReactiveSwift/ReactiveSwift.xcworkspace -scheme ReactiveSwift-iOS -configuration Release -derivedDataPath /Users/eric/Library/Caches/org.carthage.CarthageKit/DerivedData/11.2.1_11B53/ReactiveSwift/5.0.1 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/86/_5vgd1fj5nscjbtrzyrzx0sw0000gq/T/ReactiveSwift SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/eric/workspace/n2boost/jugg5/Carthage/Checkouts/ReactiveSwift)
This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/86/_5vgd1fj5nscjbtrzyrzx0sw0000gq/T/carthage-xcodebuild.JVRVlf.log
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 10
- Comments: 16 (4 by maintainers)
I get the same error. Any progress with this problem? Can’t use Moya in project, very sad.
It also works for me: Cartfile:
github "Moya/Moya" "14.0.0-beta.5"
Your error seems to be due to Carthage not using the correct dependencies versions.