Modern Apps git

xtool.git

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

xtool.git / AGENTS.md

AGENTS.md808 BRenderedCodeRaw
1# About
2
3xtool is a cross-platform replacement for Xcode (including build system, provisioning, deployment).
4
5The `xtool` CLI supports macOS, Linux, WSL. The lower-level XKit (provisioning and device interaction) library additionally supports iOS.
6
7## Development
8
9- The majority of the code is in the Swift Package. You can use `swift build` / `swift test` / etc for iteration.
10- Caveat: on macOS, xtool is distributed as an app bundle (allows entitlements like Keychain). To build the Mac app, use `make mac`. You can then invoke the CLI at `./macOS/Build/xtool`.
11- Make sure to run `make lint` (swiftlint) when you're done
12
13## Conventions
14
15- Use modern Swift 6. Strict concurrency is enabled.
16- Use swift-dependencies for Dependency Injection. Passing dependencies around as arguments is an anti-pattern.