From a68e2745ecd50c1749d3d8bb2d603185cdffcea3 Mon Sep 17 00:00:00 2001
From: osy <50960678+osy@users.noreply.github.com>
Date: Wed, 23 Sep 2026 12:09:26 -0500
Subject: [PATCH] project: add helper schemes and update the UTM SE and macOS
schemes
The iOS-SE scheme has run with Address Sanitizer since the schemes were
first committed to set the architecture override, which was incidental.
An ExtensionKit extension linked with the sanitizer does not start on a
device, so every qemu-img operation of UTM SE failed when run from
Xcode. Turn it off, add the schemes Xcode created for the helper targets
so both can be built and debugged on their own, and take the Metal API
validation setting Xcode 27 writes into the macOS scheme.
Assisted-by: Claude:claude-fable-5-1
---
.../xcshareddata/xcschemes/iOS-SE.xcscheme | 1 -
.../xcschemes/iOSHelper-SE.xcscheme | 94 +++++++++++++++++++
.../xcshareddata/xcschemes/iOSHelper.xcscheme | 94 +++++++++++++++++++
.../xcshareddata/xcschemes/macOS.xcscheme | 3 +
4 files changed, 191 insertions(+), 1 deletion(-)
create mode 100644 UTM.xcodeproj/xcshareddata/xcschemes/iOSHelper-SE.xcscheme
create mode 100644 UTM.xcodeproj/xcshareddata/xcschemes/iOSHelper.xcscheme
diff --git a/UTM.xcodeproj/xcshareddata/xcschemes/iOS-SE.xcscheme b/UTM.xcodeproj/xcshareddata/xcschemes/iOS-SE.xcscheme
index e1403330..5039e5e8 100644
--- a/UTM.xcodeproj/xcshareddata/xcschemes/iOS-SE.xcscheme
+++ b/UTM.xcodeproj/xcshareddata/xcschemes/iOS-SE.xcscheme
@@ -34,7 +34,6 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
- enableAddressSanitizer = "YES"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
diff --git a/UTM.xcodeproj/xcshareddata/xcschemes/iOSHelper-SE.xcscheme b/UTM.xcodeproj/xcshareddata/xcschemes/iOSHelper-SE.xcscheme
new file mode 100644
index 00000000..2e62033d
--- /dev/null
+++ b/UTM.xcodeproj/xcshareddata/xcschemes/iOSHelper-SE.xcscheme
@@ -0,0 +1,94 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/UTM.xcodeproj/xcshareddata/xcschemes/iOSHelper.xcscheme b/UTM.xcodeproj/xcshareddata/xcschemes/iOSHelper.xcscheme
new file mode 100644
index 00000000..8337f7a2
--- /dev/null
+++ b/UTM.xcodeproj/xcshareddata/xcschemes/iOSHelper.xcscheme
@@ -0,0 +1,94 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/UTM.xcodeproj/xcshareddata/xcschemes/macOS.xcscheme b/UTM.xcodeproj/xcshareddata/xcschemes/macOS.xcscheme
index ebc2e60a..dcdbc825 100644
--- a/UTM.xcodeproj/xcshareddata/xcschemes/macOS.xcscheme
+++ b/UTM.xcodeproj/xcshareddata/xcschemes/macOS.xcscheme
@@ -58,6 +58,9 @@
isEnabled = "YES">
+
+