Commit f5ab7cf868

f5ab7cf86875196c0dad26f3b2995bf8aaf47077

parent: 67e5e954b4

Verified · cmc

cmc <hello@cleberg.net> · 2026-09-20 21:29 UTC

docs: target a simulator that exists

The plan named iPhone 17; this machine has no such device.

Ref krz/gitbay#89

Layout: unified · split

docs/superpowers/plans/2026-09-20-push-notifications.md +5 −5
@@ -283,7 +283,7 @@ import Testing
283 283
284```bash 284```bash
285cd ~/git/krz/gitbay-ios && xcodebuild -project gitbay.xcodeproj -scheme gitbay \ 285cd ~/git/krz/gitbay-ios && xcodebuild -project gitbay.xcodeproj -scheme gitbay \
286 -destination 'platform=iOS Simulator,name=iPhone 17' \ 286 -destination 'platform=iOS Simulator,name=iPhone 16 Pro' \
287 -only-testing:gitbayTests/payloadDecodesTheAccountAndPath test 2>&1 | tail -20 287 -only-testing:gitbayTests/payloadDecodesTheAccountAndPath test 2>&1 | tail -20
288``` 288```
289 289
@@ -484,7 +484,7 @@ Run all four `PushTarget` tests plus the existing notification tests, since Step
484 484
485```bash 485```bash
486xcodebuild -project gitbay.xcodeproj -scheme gitbay \ 486xcodebuild -project gitbay.xcodeproj -scheme gitbay \
487 -destination 'platform=iOS Simulator,name=iPhone 17' \ 487 -destination 'platform=iOS Simulator,name=iPhone 16 Pro' \
488 -only-testing:gitbayTests test 2>&1 | tail -20 488 -only-testing:gitbayTests test 2>&1 | tail -20
489``` 489```
490 490
@@ -859,7 +859,7 @@ Add it beside `CODE_SIGN_STYLE`, keeping the file's tab indentation. Do not touc
859 859
860```bash 860```bash
861cd ~/git/krz/gitbay-ios && xcodebuild -project gitbay.xcodeproj -scheme gitbay \ 861cd ~/git/krz/gitbay-ios && xcodebuild -project gitbay.xcodeproj -scheme gitbay \
862 -destination 'platform=iOS Simulator,name=iPhone 17' build 2>&1 | tail -5 862 -destination 'platform=iOS Simulator,name=iPhone 16 Pro' build 2>&1 | tail -5
863``` 863```
864 864
865Expected: `BUILD SUCCEEDED`. A malformed plist or a wrong path fails here with a code-signing error naming the entitlements file. 865Expected: `BUILD SUCCEEDED`. A malformed plist or a wrong path fails here with a code-signing error naming the entitlements file.
@@ -1046,7 +1046,7 @@ If the optional-`registrar` dance proves awkward against Swift 6 isolation, cons
1046 1046
1047```bash 1047```bash
1048xcodebuild -project gitbay.xcodeproj -scheme gitbay \ 1048xcodebuild -project gitbay.xcodeproj -scheme gitbay \
1049 -destination 'platform=iOS Simulator,name=iPhone 17' test 2>&1 | tail -20 1049 -destination 'platform=iOS Simulator,name=iPhone 16 Pro' test 2>&1 | tail -20
1050``` 1050```
1051 1051
1052Expected: `TEST SUCCEEDED`. There are no unit tests for the delegate — it needs a running app and a real APNs round trip, which the Simulator cannot do. Task 11 covers it in the live suite. 1052Expected: `TEST SUCCEEDED`. There are no unit tests for the delegate — it needs a running app and a real APNs round trip, which the Simulator cannot do. Task 11 covers it in the live suite.
@@ -1319,7 +1319,7 @@ Closes krz/gitbay#89"
1319 1319
1320```bash 1320```bash
1321cd ~/git/krz/gitbay-ios && xcodebuild -project gitbay.xcodeproj -scheme gitbay \ 1321cd ~/git/krz/gitbay-ios && xcodebuild -project gitbay.xcodeproj -scheme gitbay \
1322 -destination 'platform=iOS Simulator,name=iPhone 17' test 2>&1 | tail -20 1322 -destination 'platform=iOS Simulator,name=iPhone 16 Pro' test 2>&1 | tail -20
1323``` 1323```
1324 1324
1325Expected: `TEST SUCCEEDED`. Do not claim the branch is green without this output in front of you. 1325Expected: `TEST SUCCEEDED`. Do not claim the branch is green without this output in front of you.