From 281b18c5224179a5ce7765db03dafb653fd3e89c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Thu, 8 Oct 2026 15:56:02 +0200 Subject: [PATCH] iOS toolchain: Pass IOS_APP_STORE to CMake's compiler checks They re-read the toolchain file without the cache, so they used the non-App Store deployment target, which current Xcode no longer supports. Co-Authored-By: Claude Opus 5.5 --- cmake/Toolchains/ios.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/Toolchains/ios.cmake b/cmake/Toolchains/ios.cmake index 81f09fa886..daf87716d8 100644 --- a/cmake/Toolchains/ios.cmake +++ b/cmake/Toolchains/ios.cmake @@ -12,6 +12,8 @@ # PPSSPP platform flags set(MOBILE_DEVICE ON) set(USING_GLES2 ON) +# The compiler checks re-read this file without the cache, so pass IOS_APP_STORE on. +list(APPEND CMAKE_TRY_COMPILE_PLATFORM_VARIABLES IOS_APP_STORE) if(IOS_APP_STORE) # The static MoltenVK in ios/MoltenVK needs 15.0. set(IPHONEOS_DEPLOYMENT_TARGET 15.0)