From d6fcd7030d9df07ba4b8737e3b240753c6489c7b Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sun, 3 Apr 2022 00:00:54 +0200 Subject: [PATCH] Catalyst: iOS 13.1 is the minimum target for Xcode 13 Fixes #1167 --- dist-build/apple-xcframework.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dist-build/apple-xcframework.sh b/dist-build/apple-xcframework.sh index cf86e088..12516e13 100755 --- a/dist-build/apple-xcframework.sh +++ b/dist-build/apple-xcframework.sh @@ -256,8 +256,8 @@ build_catalyst() { ## arm64 catalyst if [ "$APPLE_SILICON_SUPPORTED" = "true" ]; then - export CFLAGS="-O2 -arch arm64 -target arm64-apple-ios13.0-macabi -isysroot ${SDK}" - export LDFLAGS="-arch arm64 -target arm64-apple-ios13.0-macabi -isysroot ${SDK}" + export CFLAGS="-O2 -arch arm64 -target arm64-apple-ios13.1-macabi -isysroot ${SDK}" + export LDFLAGS="-arch arm64 -target arm64-apple-ios13.1-macabi -isysroot ${SDK}" make distclean >/dev/null 2>&1 ./configure --host=arm-apple-ios --prefix="$CATALYST_ARM64_PREFIX" \ @@ -266,8 +266,8 @@ build_catalyst() { fi ## x86_64 catalyst - export CFLAGS="-O2 -arch x86_64 -target x86_64-apple-ios13.0-macabi -isysroot ${SDK}" - export LDFLAGS="-arch x86_64 -target x86_64-apple-ios13.0-macabi -isysroot ${SDK}" + export CFLAGS="-O2 -arch x86_64 -target x86_64-apple-ios13.1-macabi -isysroot ${SDK}" + export LDFLAGS="-arch x86_64 -target x86_64-apple-ios13.1-macabi -isysroot ${SDK}" make distclean >/dev/null 2>&1 ./configure --host=x86_64-apple-ios --prefix="$CATALYST_X86_64_PREFIX" \