From 75d04e4ef567f8188f28abec7beedee2e75a8a85 Mon Sep 17 00:00:00 2001 From: Brian Degenhardt Date: Sun, 12 Jul 2026 13:34:46 -0700 Subject: [PATCH] CI/iOS: handle CMAKE_SYSTEM_NAME=iOS in detect_operating_system MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The iOS job's CMake configure failed at cmake/Pcsx2Utils.cmake:20 with 'Unsupported platform.' — the platform dispatch had branches for Windows, macOS (APPLE AND NOT IOS), Linux and BSD but none for iOS, so an iOS configure fell through to FATAL_ERROR. Add an 'APPLE AND IOS' branch ahead of the macOS one. Desktop builds are unaffected (IOS is false there). Co-Authored-By: Claude Opus 4.8 (1M context) --- cmake/Pcsx2Utils.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/Pcsx2Utils.cmake b/cmake/Pcsx2Utils.cmake index 42135790e6..4961dae30a 100644 --- a/cmake/Pcsx2Utils.cmake +++ b/cmake/Pcsx2Utils.cmake @@ -11,6 +11,8 @@ function(detect_operating_system) if(WIN32) message(STATUS "Building for Windows.") + elseif(APPLE AND IOS) + message(STATUS "Building for iOS.") elseif(APPLE AND NOT IOS) message(STATUS "Building for MacOS.") elseif(LINUX)