diff --git a/AGENTS.md b/AGENTS.md index f097656..889b473 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -80,18 +80,33 @@ xcodebuild -project Arcade85.xcodeproj -scheme Arcade85 \ ``` Success: `** BUILD SUCCEEDED **`. (Verified 2026-09-16.) -### Device (real iPhone, auto-signed) +### Device (real iPhone, auto-signed) — deploy to KyPhone +The pbxproj does **not** pin a team, so a device build fails with +`Signing for "Arcade85" requires a development team` unless you pass +`DEVELOPMENT_TEAM=TG8X9PP8VT` on the command line. Use the shared ASC API key +(same as KyleCode) for headless provisioning: ```bash xcodebuild -project Arcade85.xcodeproj -scheme Arcade85 \ -destination 'generic/platform=iOS' -derivedDataPath build/dd \ - -allowProvisioningUpdates build + -allowProvisioningUpdates DEVELOPMENT_TEAM=TG8X9PP8VT \ + -authenticationKeyPath /Users/fung/dev/KyleCode/AuthKey_8W73TQTXT2.p8 \ + -authenticationKeyID 8W73TQTXT2 \ + -authenticationKeyIssuerID 69a6de70-8630-47e3-e053-5b8c7c11a4d1 \ + build ``` -Install/launch a paired device (list with `xcrun devicectl list devices`): +First run downloads the `com.albanese.arcade85` development profile (takes a bit); +later runs are fast. Success: `** BUILD SUCCEEDED **`, app at +`build/dd/Build/Products/Debug-iphoneos/Arcade85.app`, signed +`Authority=Apple Development: Kyle Albanese (5SRT78F8BG)`, `TeamIdentifier=TG8X9PP8VT`. + +**KyPhone** (iPhone 17 Pro) = `00008150-001C38EE3A40401C`. Install + launch + confirm: ```bash APP=build/dd/Build/Products/Debug-iphoneos/Arcade85.app -xcrun devicectl device install app --device "$APP" -xcrun devicectl device process launch --device com.albanese.arcade85 +xcrun devicectl device install app --device 00008150-001C38EE3A40401C "$APP" +xcrun devicectl device process launch --device 00008150-001C38EE3A40401C com.albanese.arcade85 +xcrun devicectl device info processes --device 00008150-001C38EE3A40401C | grep -i arcade ``` +(Verified 2026-09-17: installed + launched, process running.) **There are no automated tests in this project.** A passing build is the check. For gameplay, run in the simulator and play, or use the Dope Wars debug env vars below.