Skip to content

Releases

v2.0.0-beta.2

v2.0.0-beta.2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 25 Nov 08:46
dd83569

Important

This is a beta. There are no stability guarantees until a non-prerelease 2.0.0 is tagged.

This release adds support for Metal compilation and fixes a handful of bugs.

What's Changed

New Contributors

Full Changelog: 2.0.0-beta.1...2.0.0-beta.2

v2.0.0-beta.1

v2.0.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 16 Nov 05:33

Important

This is a beta. There are no stability guarantees until a non-prerelease 2.0.0 is tagged.

v2.0.0 is a massive overhaul of xtool. Highlights:

Xcode project support

xtool can now build Xcode projects (xcodeproj, xcworkspace). This should be 1:1 with Xcode on macOS. On Linux/WSL we don't yet support some tools (asset catalogs, app intents, storyboards) but many of these will come in future releases.

Hot reloading

On macOS, you can run xtool dev -w to launch your app in the simulator in hot-reload mode. When you save changes, it'll automatically update the running app using the same underlying approach as Injection.

Unlike Injection, if you're using SwiftUI, this requires no changes to your code. Views will automatically refresh as you edit them!

Massive performance gains

xtool can build Xcode projects 2-3x faster than xcodebuild in many cases. Further improvements are in the works (pending stabilization), which will make warm builds up to 15x faster than xcodebuild.

Overhauled build system

The secret sauce behind all of this: xtool now directly speaks to SwiftBuild, rather than going through SwiftPM (caveat: we still rely on SwiftPM for package resolution but hopefully not for long). The packaging logic now shares its roots with Xcode, so there should be far fewer discrepancies, resolving many open issues.

Build Mac apps and more

You can now build macOS apps with xtool dev build --triple arm64-apple-macosx!

This is thanks to the aforementioned build system overhaul. No support for signing Mac apps yet, or for building watchOS/tvOS/other platforms. But those are far easier to add now.

v1.24.0

Choose a tag to compare

@github-actions github-actions released this 26 Oct 00:18
70e1568

This release fixes another source of HTTP 503 errors when authenticating with an Apple ID.

What's Changed

  • entitlements: support Sign in with Apple by @victoragudo in #377
  • sdk: accept directories for tarball overrides by @ap-1 in #385
  • deps: force OpenCombine in the DemoTCA lockfile by @ap-1 in #391
  • pack: link edited dependencies into the builder package by @ap-1 in #390
  • gsa: update user agent by @kabiroberai in #406

New Contributors

Full Changelog: 1.23.0...1.24.0

v1.23.0

Choose a tag to compare

@github-actions github-actions released this 22 Oct 21:29
e3ce2c4

Breaking changes

If you use Apple ID authentication (as opposed to an App Store Connect API key), you'll need to log in again after updating (#380).

What's Changed

New Contributors

Full Changelog: 1.22.2...1.23.0

v1.22.2

Choose a tag to compare

@github-actions github-actions released this 14 Oct 00:30
65bf3cc

Breaking Changes

This release updates the device fingerprint used for Apple ID-based login (we now present to Apple as a Pixel 7 device), fixing auth issues.

If you use Apple ID auth, you'll need to log in again after updating.

What's Changed

New Contributors

Full Changelog: 1.21.0...1.22.2

v1.21.0

Choose a tag to compare

@github-actions github-actions released this 05 Oct 21:47
d76498a

Breaking Changes

Darwin hosts: the deployment target for xtool is now macOS 14.0 / iOS 17.0. This shouldn't matter to CLI users because Swift 6-compatible toolchains require macOS 14.5+ anyway, but may be relevant to consumers of the XKit/XToolSupport libraries.

What's Changed

New Contributors

Full Changelog: 1.20.1...1.21.0

v1.20.1

Choose a tag to compare

@github-actions github-actions released this 21 Sep 06:05
916cdff

What's Changed

  • Adds support for FoundationModels macros (#270)
  • Fixes ld64.lld erroring out with "unknown architecture: arm64e.x1-ios" when linking apps built using Xcode 27 (#270)
  • Fixes failure to find dsymutil when building for release on Swift 6.4 (#270)

Full Changelog: 1.20.0...1.20.1

v1.20.0

Choose a tag to compare

@github-actions github-actions released this 21 Sep 01:33
eacc35d

This release adds support for Swift 6.4 (#229) and SwiftUI macros (#101).

Behavior is a lot closer to Xcode thanks to SwiftBuild, which should resolve many previous incompatibilities (such as issues with xcframeworks). There will probably be some growing pains, so please file any issues that you encounter.

Breaking changes

Linux

You'll need to re-install the Darwin SDK after updating. We recommend you take this opportunity to update to Xcode 27 + Swift 6.4.

Reinstallation is needed because we have a new Darwin SDK layout. It allows xtool to automatically rebuild the SDK any time we change the layout / add new components in the future (#110). For example, if a future update of xtool added watchOS support (or, more imminently, added more macros), the new layout means you wouldn't need to re-install the SDK again.

One tradeoff: the new format bundles the entirety of Xcode.app/Contents/Developer, which increases size on disk from ~3 GB to ~7 GB. You may opt out with xtool sdk install --slim (this may be useful in ephemeral environments like CI).

macOS

The authentication backend (Anisette provider) has changed from Omnisette to XADI. If you use Apple ID auth (i.e. not an App Store Connect API key), you'll need to log in again after updating. (#259)

General

IDE support now relies on a BSP (Build Server Protocol) server. On Swift 6.4, we directly tap into SwiftBuild rather than using SwiftPM's --swift-sdk. This means we can't "simply" use a .sourcekit-lsp/config.json for IDE support. Instead, we now create a .bsp/xtool.json file that points SourceKit to our custom Build Server. xtool will automatically create this file for you when using Swift 6.4. If needed, you can disable it by setting skipLSP: true in xtool.yml.

New Contributors

Full Changelog: 1.19.2...1.20.0

v1.19.2

Choose a tag to compare

@github-actions github-actions released this 11 Sep 00:04
4208c77

What's Changed

  • gsa: more fixes to resolve HTTP 503 errors on auth (#246, #247, #257)
  • sdk: fix permission issue (#254) when copying clang resources (#255)

New Contributors

Full Changelog: 1.19.0...1.19.2

v1.19.0

Choose a tag to compare

@github-actions github-actions released this 04 Sep 22:41
893cf4f

Fixes #243 ("Data was corrupted" error on login)

What's Changed

Full Changelog: 1.18.1...1.19.0