iOS development

iOS work requires macOS, Xcode, the root AFFiNE toolchain, and the Capacitor-based iOS package at packages/frontend/apps/ios.

Follow the current iOS package README for build and live-reload commands. The package package.json is the authority for script names; generated Capacitor and Xcode state must stay consistent with the source changes in the pull request.

For native Swift conventions and test ownership, also read the package-level AGENTS.md before editing the Xcode project or native application code.