ios-platformlisted
Install: claude install-skill hmj1026/dhpk
# iOS platform SDK
Routing index — load the reference that matches the task:
| Task | Reference |
|------|-----------|
| Core Data store, encryption, migration | `references/coredata-encryption.md` |
| Encrypting files/images, key storage | `references/cryptokit-keychain.md` |
| Text recognition / OCR | `references/vision-ocr.md` |
| Face ID / Touch ID / passcode | `references/local-authentication.md` |
| Local reminders / scheduling | `references/notifications.md` |
| Reading HealthKit data | `references/healthkit-read.md` |
| Privacy manifest, usage strings, data protection | `references/privacy-compliance.md` |
| Offline local store (actor + file-backed cache) | `references/actor-persistence.md` |
---
## Always-on non-negotiables (health / PHI data)
These hold regardless of which reference you load — they encode babylon's PDPA
Art. 6 special-category-data + App Review obligations:
1. **No iCloud for health data.** Prescriptions, medications, scan images, and
member health profiles must never go to iCloud / CloudKit / iCloud backup.
Exclude data files from backup; do not enable CloudKit on the Core Data store;
never set `kSecAttrSynchronizable` on PHI keys. (App Review 5.1.3(ii).)
2. **Encrypt at rest.** The Core Data store holding PHI is encrypted — SQLCipher
via EncryptedCoreData (high), or at minimum `NSFileProtectionComplete` on the
store file (baseline). Images are encrypted with CryptoKit `AES.GCM` and
written with `NSFileProtectionComplete`.