Modern Apps git

xtool.git

Public
git clone https://git.maproj.org/xtool.git
appstore-distribution ▾

xtool.git / README.md

README.md2.1 KiBRenderedCodeRaw
1# xtool
2
3Cross-platform Xcode replacement. Build and deploy iOS apps with SwiftPM on Linux, Windows, and macOS.
4
5## Overview
6
7xtool is a cross-platform (Linux/WSL/macOS) tool that replicates Xcode functionality with open standards.
8
9โœ… Build a SwiftPM package into an iOS app
10
11โœ… Sign and install iOS apps
12
13โœ… Interact with Apple Developer Services programmatically
14
15## Getting Started
16
171. Follow the guide to install `xtool`
18 - [Installation (Linux/Windows)](https://xtool.sh/documentation/xtooldocs/installation-linux)
19 - [Installation (macOS)](https://xtool.sh/documentation/xtooldocs/installation-macos)
202. Create and run your first xtool-powered app by following the [tutorial](https://xtool.sh/tutorials/xtooldocs/first-app)!
21
22## Examples
23
24### Screenshot
25
26![A screenshot of xtool being invoked from VSCode](Documentation/xtool.docc/Resources/Cover.png)
27
28### Command line interface
29
30```bash
31$ xtool --help
32OVERVIEW: Cross-platform Xcode replacement
33
34USAGE: xtool <subcommand>
35
36OPTIONS:
37 -h, --help Show help information.
38
39CONFIGURATION SUBCOMMANDS:
40 setup Set up xtool for iOS development
41 auth Manage Apple Developer Services authentication
42 sdk Manage the Darwin Swift SDK
43
44DEVELOPMENT SUBCOMMANDS:
45 new Create a new xtool SwiftPM project
46 dev Build and run an xtool SwiftPM project
47 ds Interact with Apple Developer Services
48
49DEVICE SUBCOMMANDS:
50 devices List devices
51 install Install an ipa file to your device
52 uninstall Uninstall an installed app
53 launch Launch an installed app
54
55 See 'xtool help <subcommand>' for detailed help.
56```
57
58### Library
59
60xtool includes a library that you can use to interact with Apple Developer Services, iOS devices, and more from your own app. You can use this by adding `XKit` as a SwiftPM dependency.
61
62```swift
63// package dependency:
64.package(url: "https://github.com/xtool-org/xtool", .upToNextMinor(from: "1.2.0"))
65// target dependency:
66.product(name: "XKit", package: "xtool")
67```