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

Xcode 13: Building universal frameworks with common architectures is not possible #173

Open
JetForMe opened this issue Sep 22, 2021 · 0 comments

Comments

@JetForMe
Copy link

JetForMe commented Sep 22, 2021

Is this project still supported? There haven't been any commits in the last couple of years. I’m running into this:

16827 16:25: repo/ (master) $ carthage update
*** Fetching MZFormSheetPresentationController
*** Fetching MZAppearance
*** Checking out MZAppearance at "b47471ed78f80bcf47608cb11df6750d08df1e78"
*** Checking out MZFormSheetPresentationController at "2.4.3"
*** xcodebuild output can be found in /var/folders/16/jfb809_s2fz01ql7k494f6pc0000gn/T/carthage-xcodebuild.BC7Hi2.log
*** Building scheme "MZAppearance" in MZAppearance.xcodeproj
A shell task (/usr/bin/xcrun lipo -create /Users/me/Library/Caches/org.carthage.CarthageKit/DerivedData/13.0_13A233/MZAppearance/b47471ed78f80bcf47608cb11df6750d08df1e78/Build/Intermediates.noindex/ArchiveIntermediates/MZAppearance/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/MZAppearance.framework/MZAppearance /Users/me/Library/Caches/org.carthage.CarthageKit/DerivedData/13.0_13A233/MZAppearance/b47471ed78f80bcf47608cb11df6750d08df1e78/Build/Products/Release-iphonesimulator/MZAppearance.framework/MZAppearance -output /Users/me/Projects/Personal/FooManager/repo/Carthage/Build/iOS/MZAppearance.framework/MZAppearance) failed with exit code 1:
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: /Users/me/Library/Caches/org.carthage.CarthageKit/DerivedData/13.0_13A233/MZAppearance/b47471ed78f80bcf47608cb11df6750d08df1e78/Build/Intermediates.noindex/ArchiveIntermediates/MZAppearance/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/MZAppearance.framework/MZAppearance and /Users/me/Library/Caches/org.carthage.CarthageKit/DerivedData/13.0_13A233/MZAppearance/b47471ed78f80bcf47608cb11df6750d08df1e78/Build/Products/Release-iphonesimulator/MZAppearance.framework/MZAppearance 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 "MZAppearance" both build for: arm64
Rebuild with --use-xcframeworks to create an xcframework bundle instead.
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