Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running Carthage Update Fails - Apple Silicon #37

Open
nashysolutions opened this issue Mar 1, 2021 · 1 comment
Open

Running Carthage Update Fails - Apple Silicon #37

nashysolutions opened this issue Mar 1, 2021 · 1 comment

Comments

@nashysolutions
Copy link

I am using Apple Silicon. The Carthage website suggests the use of flag --use-xcframeworks.

carthage update --use-xcframeworks

*** Cloning OAuthSwiftAlamofire
*** Cloning OAuthSwift
*** Cloning Alamofire
*** Checking out Alamofire at "5.4.1"
*** Checking out OAuthSwiftAlamofire at "0.2.0"
*** Checking out OAuthSwift at "2.1.2"
*** xcodebuild output can be found in /var/folders/n0/yy5pk5ns3pb6v2hdqf_pwsv00000gn/T/carthage-xcodebuild.XKiEWr.log
*** Building scheme "Alamofire watchOS" in Alamofire.xcworkspace
*** Building scheme "Alamofire tvOS" in Alamofire.xcworkspace
*** Building scheme "Alamofire iOS" in Alamofire.xcworkspace
^[[C*** Building scheme "Alamofire macOS" in Alamofire.xcworkspace
*** Building scheme "OAuthSwiftTVOS" in OAuthSwift.xcworkspace
*** Building scheme "OAuthSwiftWatchOS" in OAuthSwift.xcworkspace
*** Building scheme "OAuthSwift" in OAuthSwift.xcworkspace
*** Building scheme "OAuthSwiftMacOS" in OAuthSwift.xcworkspace
*** Building scheme "OAuthSwift-Alamofire" in OAuthSwift-Alamofire.xcworkspace
Build Failed
	Task failed with exit code 65:
	/usr/bin/xcrun xcodebuild -workspace /Users/robertnash/Code/Monster/Carthage/Checkouts/OAuthSwiftAlamofire/OAuthSwift-Alamofire.xcworkspace -scheme OAuthSwift-Alamofire -configuration Release -derivedDataPath /Users/robertnash/Library/Caches/org.carthage.CarthageKit/DerivedData/12.4_12D4e/OAuthSwiftAlamofire/0.2.0 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive VALIDATE_WORKSPACE=NO -archivePath /var/folders/n0/yy5pk5ns3pb6v2hdqf_pwsv00000gn/T/OAuthSwiftAlamofire SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/robertnash/Code/Monster/Carthage/Checkouts/OAuthSwiftAlamofire)

This usually indicates that project itself failed to compile.
@nashysolutions
Copy link
Author

Workaround

Use SPM to fetch Alamofire and OAuthSwift independently.

Then add these two source files directly into project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant