@@ -7,7 +7,7 @@ the Swift toolchain for AArch64, armv7, and x86_64, builds several Swift
7
7
packages against those SDKs, and then runs their tests in the Android x86_64
8
8
emulator] ( https://github.com/finagolfin/swift-android-sdk/blob/main/.github/workflows/sdks.yml ) .
9
9
10
- ## Cross-compiling and testing Swift packages with the Android SDK buhdle
10
+ ## Cross-compiling and testing Swift packages with the Android SDK bundle
11
11
12
12
To build with the Swift 6 SDK bundle, first download [ the official open-source
13
13
Swift 6.0.1 toolchain for linux or macOS] ( https://swift.org/download/#releases )
@@ -71,8 +71,8 @@ scp
[email protected] :{lib*.so,swift-argument-parserPackageTests.xctest,color
71
71
I've tried several Swift packages, including some mostly written in C or C++,
72
72
and all the cross-compiled tests passed. Note that while this SDK bundle is
73
73
compiled against Android API 24, there was a regression in Swift 6 so that
74
- Foundation can only be run on Android API 29 or later, #175 . I will update the
75
- SDK bundle when I find a fix for that new issue.
74
+ Foundation can only be run on Android API 29 or later, finagolfin/swift-android-sdk #175 .
75
+ I will update the SDK bundle when I find a fix for that new issue.
76
76
77
77
You can even run armv7 tests on an aarch64 device, though Termux may require
78
78
running ` unset LD_PRELOAD ` before invoking an armv7 test runner on aarch64.
@@ -200,8 +200,7 @@ extra Foundation libraries.
200
200
This Swift SDK for Android could be built without using any prebuilt Termux
201
201
packages, by compiling against a more recent Android API that doesn't need the
202
202
` libandroid-spawn ` backport, and by cross-compiling libcurl/libxml2 and their
203
- dependencies yourself or not using FoundationNetworking and FoundationXML, by
204
- disabling their build.
203
+ dependencies yourself or not using FoundationNetworking and FoundationXML.
205
204
206
205
Finally, it gets [ the 6.0.1 source] ( https://github.com/swiftlang/swift/releases/tag/swift-6.0.1-RELEASE )
207
206
tarballs for ten Swift repos and renames them to ` llvm-project/ ` , ` swift/ ` ,
0 commit comments