AGENTS.md — apple/FindFamily (FindFamily for iOS)
SwiftUI iPhone app, bundle cc.findfamily.app.1, team M42H545N93, iOS 18+. Android counterpart: findfamily/ (same relay protocol, same PQC formats).
Layout
Package.swift: SwiftPM library targetFindFamilyrooted atFindFamilyiOS/(xtool requires a library product).xtool.yml: bundle id,infoPath, andassetCatalog.compiledDir(only in thevayun-mathur/xtoolfork).FindFamilyiOS/Info.plist: no$(...)build settings and no version keys; xtool fills in the bundle keys.Resources/:Assets.car+ loose icon PNG +assets-partial-Info.plist, built fromFindFamilyiOS/Assets.xcassets.FindFamilyiOS/Crypto/PQCStubs.cis excluded from the build (unreferenced; documents the future Rust PQC link).
Rules
- Versions come only from root
version.txt. Never hand-editCFBundleVersion/CFBundleShortVersionString.
scripts/stamp-version.sh <plist> writes code=line 1 and short=line 2 (v2.6.11b -> 2.6.11) on the release builder.
- After any change to
Assets.xcassets, runscripts/assets.sh compileon a Mac and commitResources/.
The release builder runs scripts/assets.sh check and fails if the catalog is stale.
- No
.xcodeprojis committed. For Xcode, openPackage.swiftdirectly or runxtool dev generate-xcode-project
(the generated project is gitignored).
- Never commit signing material or App Store Connect keys.
Verify
xcodebuild -scheme FindFamily -destination 'generic/platform=iOS' build CODE_SIGNING_ALLOWED=NO # Mac
xtool dev build # Linux / Mac with the forkRelease
The maproj release pipeline (../location_share_server/scripts/release-build-ios.sh) runs after the Android release: stamp version -> assets check -> xtool dev build --configuration release --distribution app-store --ipa -> xtool dist upload -> xtool dist submit (creates the App Store version, attaches the build, submits for review).