Build xtool with Swift 6.3 (#221)
- Commit
009d4ea560d3a4d860ef6e57c906345ea9d0349f- Author
- Kabir Oberai <[email protected]>
- When
- 2026-05-17 00:29 UTC (6 months ago)
- Parents
8edb54f
Diff
.github/actions/configure-xcode/action.yml
diff --git a/.github/actions/configure-xcode/action.yml b/.github/actions/configure-xcode/action.ymlnew file mode 100644index 0000000..e809abb--- /dev/null+++ b/.github/actions/configure-xcode/action.yml@@ -0,0 +1,9 @@+name: 'Configure Xcode'+description: 'Set up Xcode version'+runs:+ using: composite+ steps:+ - name: Set up Xcode+ shell: bash+ run: |+ sudo xcode-select -s /Applications/Xcode_26.4.app
.github/workflows/build.yml
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex 8577da8..30c8bab 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -29,6 +29,7 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4+ - uses: ./.github/actions/configure-xcode - name: Build run: | swift build --product xtool && .build/debug/xtool --help@@ -37,6 +38,7 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4+ - uses: ./.github/actions/configure-xcode - name: Build run: | set -o pipefail \
.github/workflows/release.yml
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex e90c21d..0d78e90 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -38,6 +38,7 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4+ - uses: ./.github/actions/configure-xcode - name: Setup Ruby uses: ruby/setup-ruby@v1 with:
Dockerfile
diff --git a/Dockerfile b/Dockerfileindex c1c68d9..af67fa3 100644--- a/Dockerfile+++ b/Dockerfile@@ -1,7 +1,7 @@ # Note: We use 22.04 since AppImage recommends building on the # oldest configuration that you support -FROM swift:6.2-jammy AS build-base+FROM swift:6.3-jammy AS build-base RUN apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
Documentation/xtool.docc/Installation-Linux.md
diff --git a/Documentation/xtool.docc/Installation-Linux.md b/Documentation/xtool.docc/Installation-Linux.mdindex 88cc8ba..19b9ba9 100644--- a/Documentation/xtool.docc/Installation-Linux.md+++ b/Documentation/xtool.docc/Installation-Linux.md@@ -16,14 +16,14 @@ Once you install WSL, you'll also need to set up USB passthrough. See Microsoft' ### Swift -Install the Swift 6.2 toolchain for your Linux distribution from <https://swift.org/install/linux>.+Install the Swift 6.3 toolchain for your Linux distribution from <https://swift.org/install/linux>. After following the steps there, confirm that Swift is installed correctly: ```bash swift --version # should say something like:-# Swift version 6.2 (swift-6.2-RELEASE)+# Swift version 6.3 (swift-6.3-RELEASE) ``` ### usbmuxd@@ -62,7 +62,7 @@ sudo apt-get install usbmuxd ### Xcode.xip -Download **Xcode 26** from <https://download.developer.apple.com/Developer_Tools/Xcode_26.0.1/Xcode_26.0.1_Apple_silicon.xip>. Note the path where `Xcode_26.0.1_Apple_silicon.xip` is saved.+Download **Xcode 26** from <https://developer.apple.com/download/all/?q=Xcode>. Note the path where `Xcode.xip` is saved. > Note: >
netlify.toml
diff --git a/netlify.toml b/netlify.tomlindex c363f59..4742571 100644--- a/netlify.toml+++ b/netlify.toml@@ -5,7 +5,7 @@ base = "Documentation/" publish = "xtool.docc/.docc-build" command = "./build.sh"- environment = { SWIFT_VERSION = "6.2" }+ environment = { SWIFT_VERSION = "6.3" } ignore = "git -C .. diff --quiet $CACHED_COMMIT_REF $COMMIT_REF -- Documentation netlify.toml" [[redirects]]