crossbundle-tools 0.2.3

Build and publish apps for Android/iOS
Documentation
#![cfg(all(target_os = "macos", feature = "apple"))]

use crossbundle_tools::{
    commands::{apple::*, gen_minimal_project},
    types::{IosTarget, Profile, Target},
};

#[test]
fn test_compile_apple() {
    let tempdir = tempfile::tempdir().unwrap();
    let dir = tempdir.path();
    let name = gen_minimal_project(dir, false).unwrap();

    compile_rust_for_ios(
        Target::Bin(name),
        IosTarget::Aarch64,
        dir,
        Profile::Release,
        vec![],
        false,
        false,
        &[],
    )
    .unwrap();
}