From c34b046aaefe6a2a1462595baf14c393ac281b4a Mon Sep 17 00:00:00 2001 From: Gabriel Brown Date: Mon, 2 Nov 2026 14:01:28 -0500 Subject: [PATCH] Docs: setup guide says where the watch's team and bundle IDs live --- docs/setup.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/setup.md b/docs/setup.md index beec3bc..7020596 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -77,9 +77,11 @@ fresh credential, or let `scripts/renew-hosts.sh` do every host over SSH. Copy You need a Mac with Xcode and [XcodeGen](https://github.com/yonaskolb/XcodeGen). -1. Copy `watch/Local.xcconfig.example` to `watch/Local.xcconfig`, which git ignores, and set your - team ID and a bundle ID prefix you own, such as `com.example`. The watch app's bundle ID is - `.wristcode.watchkitapp`, which is the `APNS_TOPIC` from step 2. +1. Use your own team and bundle IDs. The project ships with mine: the team `GQJNM5YK2M` and the + bundle ID prefix `org.gbrown`. Replace both everywhere they appear under `watch/`, which + `grep -rn -e GQJNM5YK2M -e org.gbrown watch` lists. They are in `project.yml`, the entitlements, + the `Info.plist` files, `DeviceStore.swift`, the tests and `scripts/testflight.sh`. The watch + app's bundle ID, `.wristcode.watchkitapp`, is the `APNS_TOPIC` from step 2. 2. Generate the project and open it: ```sh @@ -105,7 +107,7 @@ docker compose exec gateway wristcode pair ``` It prints a 6 digit code that works once, for 5 minutes. On the watch, enter your gateway's URL -and the code. The watch then asks to send notifications. Allow it, and send a test notification +in place of the one filled in, and the code. The watch then asks to send notifications. Allow it, and send a test notification from the gear button, then Notifications, to check the whole chain. `wristcode device list` shows paired watches, and `wristcode device revoke ` unpairs one.