xtool.git
Publicgit clone https://git.maproj.org/xtool.gitxtool.git / README.md
| 1 | # xtool |
| 2 | |
| 3 | Cross-platform Xcode replacement. Build and deploy iOS apps with SwiftPM on Linux, Windows, and macOS. |
| 4 | |
| 5 | ## Overview |
| 6 | |
| 7 | xtool 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 | |
| 17 | 1. 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) |
| 20 | 2. 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 |  |
| 27 | |
| 28 | ### Command line interface |
| 29 | |
| 30 | ```bash |
| 31 | $ xtool --help |
| 32 | OVERVIEW: Cross-platform Xcode replacement |
| 33 | |
| 34 | USAGE: xtool <subcommand> |
| 35 | |
| 36 | OPTIONS: |
| 37 | -h, --help Show help information. |
| 38 | |
| 39 | CONFIGURATION SUBCOMMANDS: |
| 40 | setup Set up xtool for iOS development |
| 41 | auth Manage Apple Developer Services authentication |
| 42 | sdk Manage the Darwin Swift SDK |
| 43 | |
| 44 | DEVELOPMENT 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 | |
| 49 | DEVICE 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 | |
| 60 | xtool 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 | ``` |