Apple-CLIs
Collection of crates wrapping various Apple CLIs for documentation and type-safety purposes.
This is heavily a work in progress, and will be added to as I need more functionality for building a 100% Rust app for iOS.
CLI Install
The crates.io release is likely behind the development branch, but has a greater chance of working.
# install from crates.io if it works
Install from source:
# install from git if crates.io doesn't work / missing features
Setup with NuShell
If you want completions for your shell, make an issue / PR and I'll add it. Since I use NuShell (which is really awesome and built in Rust), I've added a command to automatically add completions for NuShell.
# if you are using nushell,
# if you want more control,
Run Rust Examples
# clone repo
Examples using NuShell
Ios-Deploy detect
|
xcrun simctl list
| |
Example build script
This uses cargo bundle
, which you can install with cargo install cargo-bundle
, and nushell, as an example script to build an iOS app.
# example Cargo.toml
# [package.metadata.bundle]
# identifier = "com.example-id"
Contributions
PRs welcome!
Developing
# try the crates.io release if it works
# build an example bundle from the included example project + run tests