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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Carthage Xcode 12.2 #712

Open
3 tasks done
tjolsen-vn opened this issue Mar 31, 2021 · 2 comments
Open
3 tasks done

Carthage Xcode 12.2 #712

tjolsen-vn opened this issue Mar 31, 2021 · 2 comments

Comments

@tjolsen-vn
Copy link

tjolsen-vn commented Mar 31, 2021

New Issue Checklist

馃毇 If this template is not filled out your issue will be closed with no comment. 馃毇 馃憤馃徏

  • I have looked at the Documentation
  • I have read the F.A.Q.
  • I have filled out this issue template.

Issue Info

Info Value
Platform iOS
Platform Version 14+
Swift Version 5.3.1
Xcode Version 12.2
SnapKit Version 5.0.1
Integration Method Carthage

Issue Description

I'm trying to install Charts via Carthage. In my Cartfile, I have (as recommended):

github "SnapKit/SnapKit" ~> 5.0.0

I've also tried just:

github "SnapKit/SnapKit"

Both give the same Carthage error:

*** Downloading binary-only framework SeatGeek at "file:///Volumes/VNStorage/Repos/iosSwitchbacks/switchbacks-ios/SeatGeek.json"
*** Fetching SnapKit
*** Fetching braintree-ios-drop-in
*** Downloading binary-only framework FirebaseFirestoreBinary at "https://dl.google.com/dl/firebase/ios/carthage/FirebaseFirestoreBinary.json"
*** Downloading binary-only framework FirebaseAnalyticsBinary at "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json"
*** Downloading binary-only framework VN at "file:///Volumes/VNStorage/Repos/iosSwitchbacks/switchbacks-ios/VN.json"
*** Downloading binary-only framework DynamiContent at "file:///Volumes/VNStorage/Repos/iosSwitchbacks/switchbacks-ios/DynamiContent.json"
*** Downloading binary-only framework Localytics at "https://downloads.localytics.com/SDKs/iOS/Localytics.json"
*** Downloading binary-only framework FirebaseCrashlyticsBinary at "https://dl.google.com/dl/firebase/ios/carthage/FirebaseCrashlyticsBinary.json"
*** Fetching braintree_ios
*** Downloading binary-only framework CardinalMobile at "https://assets.braintreegateway.com/mobile/ios/carthage-frameworks/cardinal-mobile/CardinalMobile.json"
*** Checking out SnapKit at "5.0.1"
*** Checking out braintree_ios at "4.37.0"
*** Checking out braintree-ios-drop-in at "8.1.4"
*** xcodebuild output can be found in /var/folders/yt/zk5_9dxd08b_4gpddjpl6qx00000gn/T/carthage-xcodebuild.IEyPA3.log
*** Downloading binary-only framework CardinalMobile at "https://assets.braintreegateway.com/mobile/ios/carthage-frameworks/cardinal-mobile/CardinalMobile.json"
*** Downloading binary-only framework DynamiContent at "file:///Volumes/VNStorage/Repos/iosSwitchbacks/switchbacks-ios/DynamiContent.json"
*** Downloading braintree-ios-drop-in.framework binary at "8.1.4"
*** Downloading braintree_ios.framework binary at "4.37.0"
*** Downloading binary-only framework FirebaseAnalyticsBinary at "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json"
*** Downloading binary-only framework FirebaseCrashlyticsBinary at "https://dl.google.com/dl/firebase/ios/carthage/FirebaseCrashlyticsBinary.json"
*** Downloading binary-only framework FirebaseFirestoreBinary at "https://dl.google.com/dl/firebase/ios/carthage/FirebaseFirestoreBinary.json"
*** Downloading binary-only framework Localytics at "https://downloads.localytics.com/SDKs/iOS/Localytics.json"
*** Downloading binary-only framework SeatGeek at "file:///Volumes/VNStorage/Repos/iosSwitchbacks/switchbacks-ios/SeatGeek.json"
*** Downloading binary-only framework VN at "file:///Volumes/VNStorage/Repos/iosSwitchbacks/switchbacks-ios/VN.json"
*** Building scheme "SnapKit" in SnapKit.xcworkspace
Build Failed
	Task failed with exit code 1:
	/usr/bin/xcrun lipo -create /Users/tj/Library/Caches/org.carthage.CarthageKit/DerivedData/12.2_12B45b/SnapKit/5.0.1/Build/Intermediates.noindex/ArchiveIntermediates/SnapKit/IntermediateBuildFilesPath/UninstalledProducts/appletvos/SnapKit.framework/SnapKit /Users/tj/Library/Caches/org.carthage.CarthageKit/DerivedData/12.2_12B45b/SnapKit/5.0.1/Build/Products/Release-appletvsimulator/SnapKit.framework/SnapKit -output /Volumes/VNStorage/Repos/iosSwitchbacks/switchbacks-ios/Carthage/Build/tvOS/SnapKit.framework/SnapKit

I'm guessing it either isn't compatible with Xcode 12.2, or it needs to exclude arm64 architecture.

If there is an Xcode 12.2 compatible version available, that'd be helpful. Preferably via Carthage, but I could do SPM as well.

@robertjpayne
Copy link
Member

I probably need to update documentation. Looks like you may need to adjust your bootstrap/build command to use XCFrameworks.

carthage bootstrap --use-xcframeworks --platform iOS,macOS

@wweevv-johndpope
Copy link

close

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

3 participants