Skip to content

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

Open
@JetForMe

Description

@JetForMe

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions