Update example and README

This commit is contained in:
nab138
2026-02-14 15:28:58 -05:00
parent 7a9cff097d
commit e9c416caa5
3 changed files with 13 additions and 6 deletions

View File

@@ -6,6 +6,12 @@ A Rust library for sideloading iOS applications using an Apple ID. Used in [Cros
This branch is home to isideload-next, the next major version of isideload. It features a redesigned API, improved error handling, better entitlement handling, and more. It is not ready!
## Usage
**You must call `isideload::init()` at the start of your program to ensure that errors are properly reported.** If you don't, errors related to network requests will not show any details.
A full usage example is available is in [examples/minimal](examples/minimal/).
## TODO
Things left todo before the rewrite is considered finished

View File

@@ -0,0 +1,5 @@
# minimal
A minimal sideloading CLI to to demonstrate isideload.
Usage: `minimal <appleid@icloud.com> <password> <app>`

View File

@@ -46,11 +46,6 @@ async fn main() {
.login(apple_password, get_2fa_code)
.await;
// match &account {
// Ok(a) => println!("Logged in. {}", a),
// Err(e) => panic!("Failed to log in to Apple ID: {:?}", e),
// }
let mut account = account.unwrap();
let dev_session = DeveloperSession::from_account(&mut account)
@@ -68,7 +63,8 @@ async fn main() {
panic!("No devices found");
}
let provider = devs.first()
let provider = devs
.first()
.unwrap()
.to_provider(UsbmuxdAddr::from_env_var().unwrap(), "isideload-demo");