File tree Expand file tree Collapse file tree
visionOSTestbed.xcodeproj Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ To add Python to an iOS Xcode project:
226226 .. code-block :: bash
227227
228228 set -e
229- source $PROJECT_DIR /Python.xcframework/build/build_utils .sh
229+ source " $PROJECT_DIR /Python.xcframework/build/utils .sh"
230230 install_python Python.xcframework app
231231
232232 If you have placed your XCframework somewhere other than the root of your
Original file line number Diff line number Diff line change 1+ The Apple testbed projects now build when the path of the project contains a
2+ space.
Original file line number Diff line number Diff line change 1414# * There is an `app_packages` folder that contains installed Python packages.
1515# -----
1616# set -e
17- # source $PROJECT_DIR/Python.xcframework/build/build_utils .sh
17+ # source " $PROJECT_DIR/Python.xcframework/build/utils .sh"
1818# install_python Python.xcframework app app_packages
1919# -----
2020
Original file line number Diff line number Diff line change 250250 );
251251 runOnlyForDeploymentPostprocessing = 0;
252252 shellPath = /bin/sh;
253- shellScript = "set -e\nsource $PROJECT_DIR/Python{{abiflags}}.xcframework/build/utils.sh\ninstall_python Python{{abiflags}}.xcframework app app_packages\n";
253+ shellScript = "set -e\nsource \" $PROJECT_DIR/Python{{abiflags}}.xcframework/build/utils.sh\" \ninstall_python Python{{abiflags}}.xcframework app app_packages\n";
254254 showEnvVarsInLog = 0;
255255 };
256256/* End PBXShellScriptBuildPhase section */
Original file line number Diff line number Diff line change 236236 );
237237 runOnlyForDeploymentPostprocessing = 0;
238238 shellPath = /bin/sh;
239- shellScript = "set -e\n\nsource $PROJECT_DIR/Python{{abiflags}}.xcframework/build/utils.sh\n\ninstall_python Python{{abiflags}}.xcframework app app_packages\n";
239+ shellScript = "set -e\n\nsource \" $PROJECT_DIR/Python{{abiflags}}.xcframework/build/utils.sh\" \n\ninstall_python Python{{abiflags}}.xcframework app app_packages\n";
240240 showEnvVarsInLog = 0;
241241 };
242242/* End PBXShellScriptBuildPhase section */
Original file line number Diff line number Diff line change 250250 );
251251 runOnlyForDeploymentPostprocessing = 0;
252252 shellPath = /bin/sh;
253- shellScript = "set -e\n\nsource $PROJECT_DIR/Python{{abiflags}}.xcframework/build/utils.sh\n\ninstall_python Python{{abiflags}}.xcframework app app_packages\n";
253+ shellScript = "set -e\n\nsource \" $PROJECT_DIR/Python{{abiflags}}.xcframework/build/utils.sh\" \n\ninstall_python Python{{abiflags}}.xcframework app app_packages\n";
254254 showEnvVarsInLog = 0;
255255 };
256256/* End PBXShellScriptBuildPhase section */
Original file line number Diff line number Diff line change 236236 );
237237 runOnlyForDeploymentPostprocessing = 0;
238238 shellPath = /bin/sh;
239- shellScript = "set -e\n\nsource $PROJECT_DIR/Python{{abiflags}}.xcframework/build/utils.sh\n\ninstall_python Python{{abiflags}}.xcframework app app_packages\n";
239+ shellScript = "set -e\n\nsource \" $PROJECT_DIR/Python{{abiflags}}.xcframework/build/utils.sh\" \n\ninstall_python Python{{abiflags}}.xcframework app app_packages\n";
240240 showEnvVarsInLog = 0;
241241 };
242242/* End PBXShellScriptBuildPhase section */
You can’t perform that action at this time.
0 commit comments