Modern Apps git

xtool.git

Public
git clone https://git.maproj.org/xtool.git
main ▾

xtool.git /

NameLast commitSize
.githubmeta: update readme and agents.md (#412)1 month ago
.sourcekit-lspbuild: use SwiftBuild for xtool workspace LSP (#282)2 months ago
.vscodeRun tests on CI (#226)6 months ago
Documentationutils: better XToolCache location (#409)1 month ago
Examplesdeps: force OpenCombine in the DemoTCA lockfile (#391)1 month ago
integration-teststests: add integration tests (#252)2 months ago
Linuxbuild: compile xtool with Swift 6.4 (#272)2 months ago
macOSpackage: bump Darwin deployment targets to Fall2023 (#277)2 months ago
scriptsAdd Make rules, CONTRIBUTING.md (#70)1 year ago
Sourcespack: stamp DTXcodeBuild from version.plist ProductBuildVersion17 days ago
Testsdist: add xtool dist upload and submit for App Store Connect17 days ago
.dockerignoreAdd prebuilt Docker image (#233)4 months ago94 B
.gitignoreutils: tweaks (#387)1 month ago272 B
.swiftlint.ymlcli: better IO (#375)1 month ago1.7 KiB
AGENTS.mdmeta: update readme and agents.md (#412)1 month ago1.3 KiB
CLAUDE.mdagents: check in lightweight AGENTS.md (#245)3 months ago11 B
CODE_OF_CONDUCT.mdUpdate Code of Conduct email (#50)1 year ago5.1 KiB
CONTRIBUTING.mddocs: update contributor guide (#250)2 months ago829 B
docker-compose.ymltests: add integration tests (#252)2 months ago480 B
Dockerfilebuild: update to Swift 6.4.2 (#421)1 month ago2.9 KiB
LICENSE.mdAdd license2 years ago1.0 KiB
Makefiledeps: update swiftlint (#299)2 months ago4.5 KiB
netlify.tomlbuild: update to Swift 6.4.2 (#421)1 month ago997 B
Package.resolveddeps: bump swift-system to 1.9.017 days ago13.9 KiB
Package.swiftutils: support forwarding Subprocess output (#413)1 month ago9.3 KiB
README.mdmeta: update readme and agents.md (#412)1 month ago2.3 KiB
SECURITY.mdCreate SECURITY.md (#48)1 year ago228 B
README.md

xtool

Cross-platform Xcode replacement. Build and deploy iOS apps with SwiftPM on Linux, Windows, and macOS.

Overview

xtool is a cross-platform (Linux/WSL/macOS) tool that replicates Xcode functionality with open standards.

โœ… Build a SwiftPM package into an iOS app

โœ… Sign and install iOS apps

โœ… Interact with Apple Developer Services programmatically

Getting Started

  1. Follow the guide to install xtool
  1. Create and run your first xtool-powered app by following the tutorial!

Examples

Screenshot

A screenshot of xtool being invoked from VSCode

Command line interface

$ xtool --help
OVERVIEW: Cross-platform Xcode replacement

USAGE: xtool <subcommand>

OPTIONS:
  -h, --help              Show help information.

CONFIGURATION SUBCOMMANDS:
  setup                   Set up xtool for iOS development
  auth                    Manage Apple Developer Services authentication
  sdk                     Manage the Darwin Swift SDK

DEVELOPMENT SUBCOMMANDS:
  new                     Create a new xtool SwiftPM project
  dev                     Build and run an xtool SwiftPM project
  ds                      Interact with Apple Developer Services

DEVICE SUBCOMMANDS:
  devices                 List devices
  install                 Install an ipa file to your device
  uninstall               Uninstall an installed app
  launch                  Launch an installed app

  See 'xtool help <subcommand>' for detailed help.

Library

You can consume xtool itself as a Swift Package, to enable your own app to interact with Apple Developer Services, iOS devices, and more. You can use this by adding XKit or XToolSupport as a SwiftPM dependency.

Note: while we aim to uphold semver semantics on the CLI interface (breaking change = major version bump), the Swift interface does not offer the same guarantees.

// package dependency:
.package(url: "https://github.com/xtool-org/xtool", .upToNextMinor(from: "1.2.0"))
// target dependency:
.product(name: "XKit", package: "xtool")