Commit 93e0dbdbc7
Verified · cmc
Layout: unified · split
docs/superpowers/plans/2026-09-20-push-notifications.md +6 −6
| @@ -25,7 +25,7 @@ | |||
| 25 | 25 | ||
| 26 | ```bash | 26 | ```bash |
| 27 | cd /Users/cmc/git/krz/gitbay-ios && xcodebuild -project gitbay.xcodeproj -scheme gitbay \ | 27 | cd /Users/cmc/git/krz/gitbay-ios && xcodebuild -project gitbay.xcodeproj -scheme gitbay \ |
| 28 | -destination 'platform=iOS Simulator,name=iPhone 16 Pro' test 2>&1 | tail -30 | 28 | -destination 'platform=iOS Simulator,name=iPhone 16 Pro,OS=18.6' test 2>&1 | tail -30 |
| 29 | ``` | 29 | ``` |
| 30 | 30 | ||
| 31 | Wherever a task below says `-only-testing:`, use this instead. The suite is small enough that the cost is seconds. | 31 | Wherever a task below says `-only-testing:`, use this instead. The suite is small enough that the cost is seconds. |
| @@ -290,7 +290,7 @@ import Testing | |||
| 290 | 290 | ||
| 291 | ```bash | 291 | ```bash |
| 292 | cd ~/git/krz/gitbay-ios && xcodebuild -project gitbay.xcodeproj -scheme gitbay \ | 292 | cd ~/git/krz/gitbay-ios && xcodebuild -project gitbay.xcodeproj -scheme gitbay \ |
| 293 | -destination 'platform=iOS Simulator,name=iPhone 16 Pro' \ | 293 | -destination 'platform=iOS Simulator,name=iPhone 16 Pro,OS=18.6' \ |
| 294 | -only-testing:gitbayTests/payloadDecodesTheAccountAndPath test 2>&1 | tail -20 | 294 | -only-testing:gitbayTests/payloadDecodesTheAccountAndPath test 2>&1 | tail -20 |
| 295 | ``` | 295 | ``` |
| 296 | 296 | ||
| @@ -491,7 +491,7 @@ Run all four `PushTarget` tests plus the existing notification tests, since Step | |||
| 491 | 491 | ||
| 492 | ```bash | 492 | ```bash |
| 493 | xcodebuild -project gitbay.xcodeproj -scheme gitbay \ | 493 | xcodebuild -project gitbay.xcodeproj -scheme gitbay \ |
| 494 | -destination 'platform=iOS Simulator,name=iPhone 16 Pro' \ | 494 | -destination 'platform=iOS Simulator,name=iPhone 16 Pro,OS=18.6' \ |
| 495 | -only-testing:gitbayTests test 2>&1 | tail -20 | 495 | -only-testing:gitbayTests test 2>&1 | tail -20 |
| 496 | ``` | 496 | ``` |
| 497 | 497 | ||
| @@ -866,7 +866,7 @@ Add it beside `CODE_SIGN_STYLE`, keeping the file's tab indentation. Do not touc | |||
| 866 | 866 | ||
| 867 | ```bash | 867 | ```bash |
| 868 | cd ~/git/krz/gitbay-ios && xcodebuild -project gitbay.xcodeproj -scheme gitbay \ | 868 | cd ~/git/krz/gitbay-ios && xcodebuild -project gitbay.xcodeproj -scheme gitbay \ |
| 869 | -destination 'platform=iOS Simulator,name=iPhone 16 Pro' build 2>&1 | tail -5 | 869 | -destination 'platform=iOS Simulator,name=iPhone 16 Pro,OS=18.6' build 2>&1 | tail -5 |
| 870 | ``` | 870 | ``` |
| 871 | 871 | ||
| 872 | Expected: `BUILD SUCCEEDED`. A malformed plist or a wrong path fails here with a code-signing error naming the entitlements file. | 872 | Expected: `BUILD SUCCEEDED`. A malformed plist or a wrong path fails here with a code-signing error naming the entitlements file. |
| @@ -1053,7 +1053,7 @@ If the optional-`registrar` dance proves awkward against Swift 6 isolation, cons | |||
| 1053 | 1053 | ||
| 1054 | ```bash | 1054 | ```bash |
| 1055 | xcodebuild -project gitbay.xcodeproj -scheme gitbay \ | 1055 | xcodebuild -project gitbay.xcodeproj -scheme gitbay \ |
| 1056 | -destination 'platform=iOS Simulator,name=iPhone 16 Pro' test 2>&1 | tail -20 | 1056 | -destination 'platform=iOS Simulator,name=iPhone 16 Pro,OS=18.6' test 2>&1 | tail -20 |
| 1057 | ``` | 1057 | ``` |
| 1058 | 1058 | ||
| 1059 | Expected: `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. | 1059 | Expected: `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. |
| @@ -1326,7 +1326,7 @@ Closes krz/gitbay#89" | |||
| 1326 | 1326 | ||
| 1327 | ```bash | 1327 | ```bash |
| 1328 | cd ~/git/krz/gitbay-ios && xcodebuild -project gitbay.xcodeproj -scheme gitbay \ | 1328 | cd ~/git/krz/gitbay-ios && xcodebuild -project gitbay.xcodeproj -scheme gitbay \ |
| 1329 | -destination 'platform=iOS Simulator,name=iPhone 16 Pro' test 2>&1 | tail -20 | 1329 | -destination 'platform=iOS Simulator,name=iPhone 16 Pro,OS=18.6' test 2>&1 | tail -20 |
| 1330 | ``` | 1330 | ``` |
| 1331 | 1331 | ||
| 1332 | Expected: `TEST SUCCEEDED`. Do not claim the branch is green without this output in front of you. | 1332 | Expected: `TEST SUCCEEDED`. Do not claim the branch is green without this output in front of you. |