LoginSignup
1

More than 5 years have passed since last update.

【Carthage】Task failed with exit code 65:

Last updated at Posted at 2018-08-22

注意

このエラーは様々な原因で発生すると思われます。
解決策の一つとして見ていただければと思います。

状況

carthage update --platform iOSTask failed with exit code 65 と言われてしまう。

$ carthage update --platform iOS

*** Building scheme "VueFlux" in VueFlux.xcodeproj
Build Failed
	Task failed with exit code 65:
	/usr/bin/xcrun xcodebuild -project /Users/travis/build/AkkeyLab/AppName/Carthage/Checkouts/VueFlux/VueFlux.xcodeproj -scheme VueFlux -configuration Release -derivedDataPath /Users/travis/Library/Caches/org.carthage.CarthageKit/DerivedData/9.1_9B55/VueFlux/1.4.2 -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath ./ SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO (launched in /Users/travis/build/AkkeyLab/AppName/Carthage/Checkouts/VueFlux)

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/bb/n7...gn/T/carthage-xcodebuild.ih...zh.log

解決策

macOS, Xcode ともに最新の状態にする。
CI を利用している場合は Xcode のバージョンも変更してあげる必要があります。

.travis.yml
-        - osx_image: xcode9.1
+        - osx_image: xcode9.4.1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1