Skip to content

build.sh fails when building universal libs #3

@gbgames

Description

@gbgames

Upon trying to run the script, it seems to download and build SDL2, but when it gets to the universal libs part, it fails:

==> Building libSDL2 universal libs...
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: build/Release-iphoneos/libSDL2.a and build/Release-iphonesimulator/libSDL2.a have the same architectures (arm64) and can't be in the same fat output file

$ xcodebuild -version
Xcode 12.4
Build version 12D4e

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions