Abdurakhmon
Abdurakhmon

Reputation: 3070

Build Failed Task failed with exit code 65

I am working on a project that uses Carthage, it’s been a couple of months since the last time the project was opened. Now I am trying to move dependencies to .xcframeworks because with the old .framework, it wasn’t working. I encountered various errors and fixed them but there’s one dependency that I can’t fix, 

SwinjectStoryboard
.


I tried using this workaround and setting command line tools

enter image description here

I have also tried creating an empty project with only Swinject and SwinjectStoryboard dependency

but still, my build is failing with the following message

Build Failed Task failed with exit code 65: /usr/bin/xcrun xcodebuild -project /Users/abu/Developer/xcframework_2/Carthage/Checkouts/SwinjectStoryboard/SwinjectStoryboard.xcodeproj -scheme SwinjectStoryboard-iOS -configuration Release -derivedDataPath /Users/abu/Library/Caches/org.carthage.CarthageKit/DerivedData/12.5_12E262/SwinjectStoryboard/2.2.0 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive VALIDATE_WORKSPACE=NO -archivePath /var/folders/g9/rjxzfx7d2s51_sr6stdkpc5c0000gn/T/SwinjectStoryboard SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO FRAMEWORK_SEARCH_PATHS=$(inherited)
/var/folders/g9/rjxzfx7d2s51_sr6stdkpc5c0000gn/T/carthage-xcframework-HTlC (launched in /Users/abu/Developer/xcframework_2/Carthage/Checkouts/SwinjectStoryboard)

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

I am running the following command to build the dependencies

carthage.sh update --use-xcframeworks --platform iOS

here's my contents of my Cartfile

github "Swinject/Swinject"

github "Swinject/SwinjectStoryboard"

I am stuck on this problem for a couple of days now and would appreciate any help

Upvotes: 1

Views: 2352

Answers (0)

Related Questions