gh-162034: Quote the utils.sh path in the Apple testbed build phase (#162035)

Modifies the iOS testbed to ensure that the path to the `utils.sh` script is
quoted so that spaces in the path don't prevent the script from operating.
diff --git a/Doc/using/ios.rst b/Doc/using/ios.rst
index d7cf699..4dbb6e7 100644
--- a/Doc/using/ios.rst
+++ b/Doc/using/ios.rst
@@ -226,7 +226,7 @@
    .. code-block:: bash
 
       set -e
-      source $PROJECT_DIR/Python.xcframework/build/build_utils.sh
+      source "$PROJECT_DIR/Python.xcframework/build/utils.sh"
       install_python Python.xcframework app
 
    If you have placed your XCframework somewhere other than the root of your
diff --git a/Misc/NEWS.d/next/Tests/2026-11-15-09-43-15.gh-issue-162034.egx5QV.rst b/Misc/NEWS.d/next/Tests/2026-11-15-09-43-15.gh-issue-162034.egx5QV.rst
new file mode 100644
index 0000000..1b7d2c4
--- /dev/null
+++ b/Misc/NEWS.d/next/Tests/2026-11-15-09-43-15.gh-issue-162034.egx5QV.rst
@@ -0,0 +1,2 @@
+The Apple testbed projects now build when the path of the project contains a
+space.
diff --git a/Platforms/Apple/testbed/Python.xcframework/build/utils.sh b/Platforms/Apple/testbed/Python.xcframework/build/utils.sh
index bbe3620..7e2cda7 100755
--- a/Platforms/Apple/testbed/Python.xcframework/build/utils.sh
+++ b/Platforms/Apple/testbed/Python.xcframework/build/utils.sh
@@ -14,7 +14,7 @@
 # * There is an `app_packages` folder that contains installed Python packages.
 # -----
 #   set -e
-#   source $PROJECT_DIR/Python.xcframework/build/build_utils.sh
+#   source "$PROJECT_DIR/Python.xcframework/build/utils.sh"
 #   install_python Python.xcframework app app_packages
 # -----
 
diff --git a/Platforms/Apple/testbed/iOSTestbed.xcodeproj/project.pbxproj b/Platforms/Apple/testbed/iOSTestbed.xcodeproj/project.pbxproj
index 6ac40a3..b213182 100644
--- a/Platforms/Apple/testbed/iOSTestbed.xcodeproj/project.pbxproj
+++ b/Platforms/Apple/testbed/iOSTestbed.xcodeproj/project.pbxproj
@@ -250,7 +250,7 @@
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 			shellPath = /bin/sh;
-			shellScript = "set -e\nsource $PROJECT_DIR/Python{{abiflags}}.xcframework/build/utils.sh\ninstall_python Python{{abiflags}}.xcframework app app_packages\n";
+			shellScript = "set -e\nsource \"$PROJECT_DIR/Python{{abiflags}}.xcframework/build/utils.sh\"\ninstall_python Python{{abiflags}}.xcframework app app_packages\n";
 			showEnvVarsInLog = 0;
 		};
 /* End PBXShellScriptBuildPhase section */
diff --git a/Platforms/Apple/testbed/tvOSTestbed.xcodeproj/project.pbxproj b/Platforms/Apple/testbed/tvOSTestbed.xcodeproj/project.pbxproj
index e14489a..941f6a2 100644
--- a/Platforms/Apple/testbed/tvOSTestbed.xcodeproj/project.pbxproj
+++ b/Platforms/Apple/testbed/tvOSTestbed.xcodeproj/project.pbxproj
@@ -236,7 +236,7 @@
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 			shellPath = /bin/sh;
-			shellScript = "set -e\n\nsource $PROJECT_DIR/Python{{abiflags}}.xcframework/build/utils.sh\n\ninstall_python Python{{abiflags}}.xcframework app app_packages\n";
+			shellScript = "set -e\n\nsource \"$PROJECT_DIR/Python{{abiflags}}.xcframework/build/utils.sh\"\n\ninstall_python Python{{abiflags}}.xcframework app app_packages\n";
 			showEnvVarsInLog = 0;
 		};
 /* End PBXShellScriptBuildPhase section */
diff --git a/Platforms/Apple/testbed/visionOSTestbed.xcodeproj/project.pbxproj b/Platforms/Apple/testbed/visionOSTestbed.xcodeproj/project.pbxproj
index ee19e22..53ddec1 100644
--- a/Platforms/Apple/testbed/visionOSTestbed.xcodeproj/project.pbxproj
+++ b/Platforms/Apple/testbed/visionOSTestbed.xcodeproj/project.pbxproj
@@ -250,7 +250,7 @@
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 			shellPath = /bin/sh;
-			shellScript = "set -e\n\nsource $PROJECT_DIR/Python{{abiflags}}.xcframework/build/utils.sh\n\ninstall_python Python{{abiflags}}.xcframework app app_packages\n";
+			shellScript = "set -e\n\nsource \"$PROJECT_DIR/Python{{abiflags}}.xcframework/build/utils.sh\"\n\ninstall_python Python{{abiflags}}.xcframework app app_packages\n";
 			showEnvVarsInLog = 0;
 		};
 /* End PBXShellScriptBuildPhase section */
diff --git a/Platforms/Apple/testbed/watchOSTestbed.xcodeproj/project.pbxproj b/Platforms/Apple/testbed/watchOSTestbed.xcodeproj/project.pbxproj
index d5220c6..02b98a6 100644
--- a/Platforms/Apple/testbed/watchOSTestbed.xcodeproj/project.pbxproj
+++ b/Platforms/Apple/testbed/watchOSTestbed.xcodeproj/project.pbxproj
@@ -236,7 +236,7 @@
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 			shellPath = /bin/sh;
-			shellScript = "set -e\n\nsource $PROJECT_DIR/Python{{abiflags}}.xcframework/build/utils.sh\n\ninstall_python Python{{abiflags}}.xcframework app app_packages\n";
+			shellScript = "set -e\n\nsource \"$PROJECT_DIR/Python{{abiflags}}.xcframework/build/utils.sh\"\n\ninstall_python Python{{abiflags}}.xcframework app app_packages\n";
 			showEnvVarsInLog = 0;
 		};
 /* End PBXShellScriptBuildPhase section */