Installation
SP Vault is installed privately on the owner's iPhone, straight from Xcode. It is not on the App Store.
Apple Developer configuration (done on 2026-12-02)
| Item | Value |
|---|---|
| Team | Simon-Pierre Boucher — 3YM54G49SN |
| App ID | ai.spboucher.idcardvault, explicit, name "SP ID and Card Vault" (the portal refuses "&" in a name), portal id WQDX3WA468 |
| Capabilities | Data Protection — Complete Protection. Nothing else (In-App Purchase is on by default for every App ID and is unused) |
| Signing | Automatic, Apple Development certificate |
| Provisioning profile | "iOS Team Provisioning Profile: ai.spboucher.idcardvault", created by Xcode (-allowProvisioningUpdates), expires 2027-12-03 |
The App ID was created through the Safari session already signed in to developer.apple.com: scripts/apple_dev_setup.applescript runs scripts/portal/inventory.js (read-only check) and scripts/portal/create-app-id.js (idempotent creation, then read-back). The scripts read no cookie, password or 2FA code; if the session has expired they stop and ask the owner to sign in.
P=https://developer.apple.com/account/resources/identifiers/list
osascript scripts/apple_dev_setup.applescript "$PWD/scripts/portal/inventory.js" developer.apple.com /account "$P"Requirements
- Xcode 27 or later, XcodeGen (
brew install xcodegen). - iPhone on iOS 26 or later with a passcode and Face ID set up.
- The iPhone registered in the developer account (Xcode does it on first connection) and Developer Mode on (Settings ▸ Privacy & Security ▸ Developer Mode).
Install on the iPhone
- Connect the iPhone by cable, unlock it and accept "Trust This Computer".
- Build and install the Release configuration:
xcodegen generate
xcrun devicectl list devices # note the iPhone's identifier
xcodebuild -project SPVault.xcodeproj -scheme SPVault -configuration Release \
-destination 'platform=iOS,id=<DEVICE-UDID>' -derivedDataPath build/dd-device \
-allowProvisioningUpdates build
xcrun devicectl device install app --device <DEVICE-ID> build/dd-device/Build/Products/Release-iphoneos/SPVault.app
xcrun devicectl device process launch --device <DEVICE-ID> ai.spboucher.idcardvaultOr open SPVault.xcodeproj, choose the iPhone, set the scheme's Run configuration to Release and press Run.
- First launch: the onboarding checks Face ID, asks for a recovery passphrase and creates the vault.
Install the Release configuration for daily use. Debug builds contain the test hooks described in ARCHITECTURE.md (launch arguments, scripted key protector, demo cards); Release builds do not.
A development-signed app runs for one year (until the provisioning profile expires); reinstalling from Xcode renews it. Reinstalling over the existing app keeps the vault. Deleting the app deletes the vault files; export a .spvault backup first.
First-run checklist on the device
These can only be verified on a physical iPhone (the simulator has no camera, no Secure Enclave, no passcode and no data-protection enforcement):
- Onboarding creates the vault; Face ID prompt appears with the app's reason text.
- Closing and reopening the app asks for Face ID; a non-matching face keeps it locked.
- The app switcher shows the curtain, not a card.
- Scanning a real card: edges detected, auto-capture, perspective corrected, OCR proposals.
- Bank card back: the security code is proposed for masking and is black in the saved photograph.
- Reflections follow the tilt of the phone; haptics on unlock, flip and lock.
- Security Center: "File protection" shows every file protected; "Key" shows the Keychain protection.
- Export a
.spvaultbackup to Files, then restore it. - Add a second face in Settings ▸ Face ID: the app asks for the recovery passphrase.
TestFlight (internal only)
Set up on 2026-12-02 at the owner's request. App Store Connect record "SP ID & Card Vault", id 6842249888, SKU spidcardvault-ios-001; the home-screen name is "SP ID Vault" (renamed so it is not confused with the SP Vault password manager). The app is never submitted for review.
scripts/release.sh archive # Release archive, checks signature, test hooks and network symbols
scripts/release.sh export # .ipa for App Store Connect
scripts/release.sh upload # altool, API key from ~/.appstoreconnect/asc.env
scripts/release.sh wait # until the build is VALID
scripts/release.sh group # internal group "Test"Build 1.0.0 (1): delivery 18ef2d39-5e94-4629-8140-275b45b057fb, VALID on 2026-12-02. Bump CURRENT_PROJECT_VERSION in project.yml before each new upload. Apple requires UIRequiresFullScreen for a portrait-only app (error 90474 otherwise).