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

Failed to install via Carthage #245

Open
alvisjosh opened this issue Sep 6, 2022 · 0 comments
Open

Failed to install via Carthage #245

alvisjosh opened this issue Sep 6, 2022 · 0 comments

Comments

@alvisjosh
Copy link

Cartfile content: github "yourkarma/JWT" "master"

Terminal command: carthage update
Error output:
`*** Fetching JWT
*** Fetching Base64
*** Checking out Base64 at "67083ec1e3e970ec920cbf126e6957c6e9e88ae4"
*** Checking out JWT at "8414cafd06843addf1ce9a63417386f25b2a6e20"
*** xcodebuild output can be found in /var/folders/7s/18873bvj1pl5j2kmv3y85jtr0000gn/T/carthage-xcodebuild.tzMewq.log
*** Building scheme "Base64" in Base64.xcworkspace
A shell task (/usr/bin/xcrun lipo -create /Users/user123/Library/Caches/org.carthage.CarthageKit/DerivedData/13.4.1_13F100/Base64/67083ec1e3e970ec920cbf126e6957c6e9e88ae4/Build/Intermediates.noindex/ArchiveIntermediates/Base64/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Base64.framework/Base64 /Users/user123/Library/Caches/org.carthage.CarthageKit/DerivedData/13.4.1_13F100/Base64/67083ec1e3e970ec920cbf126e6957c6e9e88ae4/Build/Products/Release-iphonesimulator/Base64.framework/Base64 -output /Users/user123/my-project/Carthage/Build/iOS/Base64.framework/Base64) failed with exit code 1:
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: /Users/user123/Library/Caches/org.carthage.CarthageKit/DerivedData/13.4.1_13F100/Base64/67083ec1e3e970ec920cbf126e6957c6e9e88ae4/Build/Intermediates.noindex/ArchiveIntermediates/Base64/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Base64.framework/Base64 and /Users/user123/Library/Caches/org.carthage.CarthageKit/DerivedData/13.4.1_13F100/Base64/67083ec1e3e970ec920cbf126e6957c6e9e88ae4/Build/Products/Release-iphonesimulator/Base64.framework/Base64 have the same architectures (arm64) and can't be in the same fat output file

Building universal frameworks with common architectures is not possible. The device and simulator slices for "Base64" both build for: arm64
Rebuild with --use-xcframeworks to create an xcframework bundle instead.`

Tried with carthage update --use-xcframeworks
Failed with output:
`*** Fetching JWT
*** Fetching Base64
*** Checking out Base64 at "67083ec1e3e970ec920cbf126e6957c6e9e88ae4"
*** Checking out JWT at "8414cafd06843addf1ce9a63417386f25b2a6e20"
*** xcodebuild output can be found in /var/folders/7s/18873bvj1pl5j2kmv3y85jtr0000gn/T/carthage-xcodebuild.3rUn9J.log
*** Building scheme "Base64" in Base64.xcworkspace
*** Skipped building JWT due to the error:
Dependency "JWT" has no shared framework schemes

If you believe this to be an error, please file an issue with the maintainers at https://github.com/yourkarma/JWT/issues/new`

Please advise how can I get it installed?

Thank you!

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