AGENTS.md: KyPhone device build/deploy recipe (DEVELOPMENT_TEAM + ASC key)

This commit is contained in:
2026-09-17 12:06:15 -04:00
parent f98aefb182
commit 2f803d79b9
+20 -5
View File
@@ -80,18 +80,33 @@ xcodebuild -project Arcade85.xcodeproj -scheme Arcade85 \
``` ```
Success: `** BUILD SUCCEEDED **`. (Verified 2026-09-16.) 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 ```bash
xcodebuild -project Arcade85.xcodeproj -scheme Arcade85 \ xcodebuild -project Arcade85.xcodeproj -scheme Arcade85 \
-destination 'generic/platform=iOS' -derivedDataPath build/dd \ -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 ```bash
APP=build/dd/Build/Products/Debug-iphoneos/Arcade85.app APP=build/dd/Build/Products/Debug-iphoneos/Arcade85.app
xcrun devicectl device install app --device <UDID> "$APP" xcrun devicectl device install app --device 00008150-001C38EE3A40401C "$APP"
xcrun devicectl device process launch --device <UDID> com.albanese.arcade85 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 **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. gameplay, run in the simulator and play, or use the Dope Wars debug env vars below.