# iOS Cold Wallet — Plan 2 Smoke Test

Run these on the iOS Simulator after every Plan 2 commit. Should take ~3 minutes.

## Setup

1. Build the app for the iPhone 17 simulator from Xcode (`Cmd+R`) or:
   ```
   xcodebuild -project ios/ArmoryCold.xcodeproj -scheme ArmoryCold \
     -destination 'platform=iOS Simulator,name=iPhone 17' build
   ```
2. Open the Simulator (it should launch automatically; otherwise `open -a Simulator`).
3. Run the app from Xcode (`Cmd+R`).

## Steps

1. **App launches.** Welcome screen shows the "Armory Cold" title and a "Restore from seed" button. No crash.
2. **Tap "Restore from seed".** Navigates to the Restore screen.
3. **Paste this test mnemonic into the seed field:**
   ```
   abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about
   ```
   The footnote should update to "12 words — need 12 or 24" and the Restore button should enable.
4. **Tap Restore.** A brief progress indicator appears. On success, the screen dismisses back to the WalletsList showing one row labeled "Armory (restored)".
5. **Tap the wallet row.** Navigate to WalletHome. The fingerprint shown should match `73c5da0a` (the fingerprint of the abandon-abandon test seed).
6. **Force-quit the simulator app and relaunch.** The wallet should still be in the list (state persisted via Documents/wallets).
7. **Open the simulator's Files app.** Confirm the wallet does NOT appear in iCloud or in any sharable location — it should be inside the app's private Documents sandbox.

## Air-gap check

In Xcode's Network tab while the app is running, confirm zero network requests during the entire flow. Any HTTP/HTTPS/DNS activity is a regression — the app should be completely silent.

## Pass criteria

All 7 steps complete without crash or error message. If step 5 shows a different fingerprint or any step errors, capture the Xcode console output and the screen state before debugging.
