From daf4e26e438f07f9e8c3a510896dfe92f21689c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=9A=93?= Date: Tue, 29 Jul 2025 11:12:30 -0400 Subject: [PATCH] Lower iOS version requirement for 64-bit ARM to iOS 10 --- .github/workflows/autobuild.yml | 2 +- Makefile.libretro | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index 7f17fa20..ed404aa3 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -1086,7 +1086,7 @@ jobs: sdk: iphoneos suffix: _ios arch_mkxpz: arm64 - arch_llvm: arm64-apple-ios11.0 # iOS 11 is the first version of iOS with support for 64-bit ARM + arch_llvm: arm64-apple-ios10.0 # iOS 10 is the first version of iOS with support for 64-bit ARM cpu_family: aarch64 cpu: generic-armv8-a endian: little diff --git a/Makefile.libretro b/Makefile.libretro index daef9772..758effa9 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -99,9 +99,9 @@ else ifeq ($(platform),ios-arm64) MKXPZ_CPU_FAMILY = aarch64 MKXPZ_CPU = generic-armv8-a MKXPZ_ENDIAN = little - # iOS 11 is the first version of iOS with support for 64-bit ARM - MKXPZ_CC = ['xcrun', '--sdk', 'iphoneos', '$(CC)', '-target=arm64-apple-ios11.0'] - MKXPZ_CXX = ['xcrun', '--sdk', 'iphoneos', '$(CXX)', '-target=arm64-apple-ios11.0'] + # iOS 10 is the first version of iOS with support for 64-bit ARM + MKXPZ_CC = ['xcrun', '--sdk', 'iphoneos', '$(CC)', '-target=arm64-apple-ios10.0'] + MKXPZ_CXX = ['xcrun', '--sdk', 'iphoneos', '$(CXX)', '-target=arm64-apple-ios10.0'] else ifeq ($(platform),ios9) MKXPZ_SYSTEM = darwin MKXPZ_SUFFIX = ios