smix-sdk
smix-sdk — user-facing public surface for the smix Rust library. App + ergonomic selector helpers + matchers. Wraps SimctlDriver + SimctlClient + HttpRunnerClient. v3.1 c11.
Part of the smix workspace. See the top-level README.md for project overview, and ARCHITECTURE.md for the stone-vs-cement layout.
Running insight_parity (real-sim e2e)
This crate ships an insight_parity example used as the v3.4 business
re-verification gate — 10 iOS flows pulled from v1.9's TS contract
test, against the qualcomm/insight RN app.
Prerequisites you set up (smix 不负责 build user app):
- Booted simulator with the insight app installed.
SmixRunnerCoreSwift binary built + launched on the sim (swift-bridge/).- Metro bundler running for the insight app (optional if you ship a pre-bundled JS).
SIMX_UDIDenv var set.
Run via the workspace helper:
Or directly:
SIMX_UDID=<UDID> cargo
Expected: 10/10 flows pass. Failure prints AI-readable
ExpectationFailure::to_prompt() blocks suitable for paste-into-agent
follow-up.
License
Dual-licensed under either Apache License 2.0 or MIT, at your option.