Carthage: Build Failed Task failed with exit code 65:

Created on 14 Dec 2018  路  5Comments  路  Source: Carthage/Carthage

  • carthage install method: [ ] .pkg, [x ] homebrew, [ ] source
  • which carthage:
  • carthage version: 0.31.2
  • xcodebuild -version: 10.1
  • Are you using --no-build? No
  • Are you using --no-use-binaries? No
  • Are you using --use-submodules? No
  • Are you using --cache-builds? No
  • Are you using --new-resolver? No

Cartfile

App Cartfile: 
git "file:///Users/AG09998/commercial-reference-architecture-ios-carthage/" ~> 1.0.4

Embedded Framework's Cartfile:
github "Alamofire/Alamofire" ~> 4.7
github "tristanhimmelman/ObjectMapper" ~> 3.4
github "tristanhimmelman/AlamofireObjectMapper" ~> 5.2
[carthage-xcodebuild.Zh4uDD.log](https://github.com/Carthage/Carthage/files/2681066/carthage-xcodebuild.Zh4uDD.log)


Carthage Output

*** Fetching commercial-reference-architecture-ios-carthage
*** Fetching AlamofireObjectMapper
*** Fetching ObjectMapper
*** Fetching Alamofire
*** Checking out Alamofire at "4.8.0"
*** Checking out ObjectMapper at "3.4.1"
*** Checking out AlamofireObjectMapper at "5.2.0"
*** Checking out commercial-reference-architecture-ios-carthage at "1.0.4"
*** xcodebuild output can be found in /var/folders/12/bp9bnhcx44b1s_bww22wcv400000gp/T/carthage-xcodebuild.vHvAxd.log
*** Building scheme "Alamofire iOS" in Alamofire.xcworkspace
*** Building scheme "ObjectMapper-iOS" in ObjectMapper.xcworkspace
*** Building scheme "AlamofireObjectMapper iOS" in AlamofireObjectMapper.xcworkspace
*** Building scheme "SpecialistsFramework" in SpecialistsFramework.xcodeproj
Build Failed
    Task failed with exit code 65:
    /usr/bin/xcrun xcodebuild -project /Users/AG09998/commercial-reference-architecture-ios\ copy/Carthage/Checkouts/commercial-reference-architecture-ios-carthage/SpecialistsFramework/SpecialistsFramework.xcodeproj -scheme SpecialistsFramework -configuration Release -derivedDataPath /Users/AG09998/Library/Caches/org.carthage.CarthageKit/DerivedData/10.1_10B61/commercial-reference-architecture-ios-carthage/1.0.4 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/12/bp9bnhcx44b1s_bww22wcv400000gp/T/commercial-reference-architecture-ios-carthage SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/AG09998/commercial-reference-architecture-ios copy/Carthage/Checkouts/commercial-reference-architecture-ios-carthage)

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/12/bp9bnhcx44b1s_bww22wcv400000gp/T/carthage-xcodebuild.vHvAxd.log

Actual outcome
Carthage did or did not ...

Expected outcome
Carthage should ...

question stale

All 5 comments

I created a framework that uses embedded frameworks (Alamofire, etc.). When I run Carthage update to build my framework for my app, I get the Failed Task failed with exit code 65 error.

Help!

There error is pretty clear. Your framework does not build in release mode.

@blender Hi. It builds in Xcode. Is there something that I'm missing?
@blender Hey, if you could tell me what you think I've done wrong, I would appreciate it because my code builds in Xcode for release

I can鈥檛 tell you what you did wrong, because I cannot check.

You have to help yourself and read the error message. There is even a log written to file.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

itinance picture itinance  路  3Comments

josercc picture josercc  路  3Comments

faustperic picture faustperic  路  3Comments

shift00 picture shift00  路  3Comments

justinmakaila picture justinmakaila  路  4Comments