Skip to content

Commit ceff927

Browse files
committed
Minor markdown fixes.
1 parent fe39aa4 commit ceff927

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

Apple/iOS/README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -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
119119
also requires the use of cross-compilation. The minimal commands for building
120120
Python 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

132132
In 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
238238
exclude 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

245245
This will:
@@ -267,7 +267,7 @@ testbed will be created in a directory named
267267

268268
You 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

273273
In this invocation, `my-testbed` is the name of the folder for the new
@@ -276,7 +276,7 @@ testbed clone.
276276
If you've built your own XCframework, or you only want to test a single architecture,
277277
you 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

282282
The 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,
286286
passing in any command line arguments you may require. For example, if you're
287287
trying 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

292292
This 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

298298
You 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

303303
This will allow you to use the full Xcode suite of tools for debugging.

0 commit comments

Comments
 (0)