#[non_exhaustive]pub enum LaunchFreshOp {
Terminate,
Uninstall,
Install(String),
PrivacyResetAll,
SandboxClearInPlace(String),
KeychainReset,
Launch,
}Expand description
Atomic op in the App::launch_fresh orchestration plan. Exposed
so the plan is testable as a pure function (no SimctlClient stub
— and a stub wouldn’t help much since SimctlClient is a ZST).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Terminate
simctl terminate on the target — clean SIGTERM, no crash-report
daemon interpretation.
Uninstall
simctl uninstall on the target. Used only when SMIX_LAUNCH_FRESH_FORCE_REINSTALL=1 is set;
the default clear-state path uses [SandboxClearInPlace] to
avoid the iOS 26.5 XCUITest binding loss and
ReportCrash “
Install(String)
simctl install <path> — reinstalls the .app bundle. Same
note as [Uninstall]: only used on the force-reinstall path.
PrivacyResetAll
simctl privacy reset all — wipes granted permissions
without touching the app’s data. Companion to
[SandboxClearInPlace]; both make up the default in-place
clear-state path.
Since smix 1.0.4.
SandboxClearInPlace(String)
Wipe the app’s sandbox
(Documents/, Library/, tmp/) via NSFileManager
on the running sim, without simctl uninstall. Preserves
the XCUITest binding and does not trip
ReportCrash. Argument is the target bundle-id.
KeychainReset
Launch
Trait Implementations§
Source§impl Clone for LaunchFreshOp
impl Clone for LaunchFreshOp
Source§fn clone(&self) -> LaunchFreshOp
fn clone(&self) -> LaunchFreshOp
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more