@@ -97,7 +97,7 @@ Python build for a single framework, the following options are available.
9797
9898 Specify the name for the Python framework; defaults to ` Python ` .
9999
100- > [ !Note ]
100+ > [ !NOTE ]
101101 > Unless you know what you're doing, changing the name of the Python
102102 > framework on iOS is not advised. If you use this option, you won't be able
103103 > to run the ` Apple ` build script without making significant manual
@@ -119,14 +119,14 @@ provide the `--enable-framework` flag when configuring the build. The build
119119also requires the use of cross-compilation. The minimal commands for building
120120Python for the ARM64 iOS simulator will look something like:
121121```
122- export PATH="$(pwd)/Apple/iOS/Resources/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin"
123- ./configure \
124- --enable-framework \
125- --host=arm64-apple-ios-simulator \
126- --build=arm64-apple-darwin \
127- --with-build-python=/path/to/python.exe
128- make
129- make install
122+ export PATH="$(pwd)/Apple/iOS/Resources/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin"
123+ ./configure \
124+ --enable-framework \
125+ --host=arm64-apple-ios-simulator \
126+ --build=arm64-apple-darwin \
127+ --with-build-python=/path/to/python.exe
128+ make
129+ make install
130130```
131131
132132In this invocation:
@@ -237,9 +237,9 @@ To run the test suite, configure a Python build for an iOS simulator (i.e.,
237237` PATH ` has been configured to include the ` Apple/iOS/Resources/bin ` folder and
238238exclude any non-iOS tools, then run:
239239```
240- make all
241- make install
242- make testios
240+ make all
241+ make install
242+ make testios
243243```
244244
245245This will:
@@ -267,7 +267,7 @@ testbed will be created in a directory named
267267
268268You can generate your own standalone testbed instance by running:
269269```
270- python cross-build/iOS/testbed clone my-testbed
270+ python cross-build/iOS/testbed clone my-testbed
271271```
272272
273273In this invocation, ` my-testbed ` is the name of the folder for the new
@@ -276,7 +276,7 @@ testbed clone.
276276If you've built your own XCframework, or you only want to test a single architecture,
277277you can construct a standalone testbed instance by running:
278278```
279- python Apple/testbed clone --platform iOS --framework <path/to/framework> my-testbed
279+ python Apple/testbed clone --platform iOS --framework <path/to/framework> my-testbed
280280```
281281
282282The framework path can be the path path to a ` Python.xcframework ` , or the
@@ -286,7 +286,7 @@ You can then use the `my-testbed` folder to run the Python test suite,
286286passing in any command line arguments you may require. For example, if you're
287287trying to diagnose a failure in the ` os ` module, you might run:
288288```
289- python my-testbed run -- test -W test_os
289+ python my-testbed run -- test -W test_os
290290```
291291
292292This is the equivalent of running ` python -m test -W test_os ` on a desktop
@@ -297,7 +297,7 @@ they were arguments to `python -m` on a desktop machine.
297297
298298You can also open the testbed project in Xcode by running:
299299```
300- open my-testbed/iOSTestbed.xcodeproj
300+ open my-testbed/iOSTestbed.xcodeproj
301301```
302302
303303This will allow you to use the full Xcode suite of tools for debugging.
0 commit comments