yourkarma / JWT

A JSON Web Token implementation in Objective-C.
MIT License
350 stars 107 forks source link

Failed to install via Carthage #245

Open alvisjosh opened 1 year ago

alvisjosh commented 1 year ago

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!