Push notification support is buggy
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- ios, swift
- 領域
- devtools, mobile-dev
調査の方向性
Start by tracing the provisioning flow invoked by xtool dev, especially how it handles push-notification capabilities and repeated runs. Reproduce the reported failure with push notifications enabled; done means subsequent provisioning runs succeed without the reported 404 or certificate-revocation workaround.
索引モデルが issue の本文から書いたものです。
説明
Description
When attempting to add push notification support to my app, and then calling xtool dev, it provisions the app once, but then fails to provision subsequent times. with the following error:
Error: Unexpected response, expected status code: noContent, response: notFound(DeveloperAPI.Operations.BundleIdCapabilitiesDeleteInstance.Output.NotFound(body: DeveloperAPI.Operations.BundleIdCapabilitiesDeleteInstance.Output.NotFound.Body.json(DeveloperAPI.Components.Schemas.ErrorResponse(errors: Optional([DeveloperAPI.Components.Schemas.ErrorResponse.ErrorsPayloadPayload(id: Optional("c62180eb-114e-47e8-80c7-0ef8934790a3"), status: "404", code: "NOT_FOUND", title: "The specified resource does not exist", detail: "There is no resource of type 'bundleIdCapabilities' with id 'N5ZK222TTY_PUSH_NOTIFICATIONS'", source: Optional(DeveloperAPI.Components.Schemas.ErrorResponse.ErrorsPayloadPayload.SourcePayload.ErrorSourcePointer(DeveloperAPI.Components.Schemas.ErrorSourcePointer(pointer: "data/id"))), links: nil, meta: nil)])))))
Workaround:
Add a APS Certificate to your app in developer.apple.com call xtool dev you'll get the following:
Error: Unexpected response, expected status code: noContent, response: forbidden(DeveloperAPI.Operations.BundleIdCapabilitiesDeleteInstance.Output.Forbidden(body: DeveloperAPI.Operations.BundleIdCapabilitiesDeleteInstance.Output.Forbidden.Body.json(DeveloperAPI.Components.Schemas.ErrorResponse(errors: Optional([DeveloperAPI.Components.Schemas.ErrorResponse.ErrorsPayloadPayload(id: Optional("3ea5e9c1-8626-41ca-8730-e121b83bbcc8"), status: "403", code: "FORBIDDEN_ERROR", title: "This request is forbidden for security reasons", detail: "This certificate can only be revoked by Apple Developer Program Support. https://developer.apple.com/support", source: nil, links: nil, meta: nil)])))))
Then revoke the certificate from the developer portal.
xtool dev will then work again, but only once.
Environment
Please provide as much of the following information as is relevant.
Host OS (macOS/Linux/WSL):
Linux p16 6.16.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 11 Sep 2025 17:42:36 +0000 x86_64 x86_64 x86_64 GNU/Linux
Host OS version:
PRETTY_NAME="Ubuntu 24.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.2 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
iOS device version:
18.6.2
Swift version:
Swift version 6.1.2 (swift-6.1.2-RELEASE)
Target: x86_64-unknown-linux-gnu
SDK version:
iPhoneOS18.5.sdk
- 主要言語
- Swift
- スター
- 5.5k
- フォーク
- 163
- 平均マージ
- 19時間 33分
- マージ済み PR(30日)
- 25
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
xtool-org/xtool のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
メンテナーはふだん 1 日以内に返信
-
Error: exited(127)オープンbug
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
xtool-org/xtool#365 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
xtool-org/xtool#364 · リアクション 6 件 ·
メンテナーはふだん 1 日以内に返信
xtool-org/xtool の issue をすべて見る
似ている issue
-
product / auth product / databases product / functions product / messaging product / storage product / vcs
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
storage: eliminate force-unwraps and fatalError in continueStreamingUpload対応中かも @chingor13 が今日担当しました。 オープンapi: storage type: cleanup
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
googleapis/google-cloud-swift#1527 ·
メンテナーはふだん 1 日以内に返信
-
ci-failure ci:assertion test
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
openwatersio/slackwater-ios#811 ·
メンテナーはふだん 1 日以内に返信
-
ai-assisted
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
swiftlang/swift-testing#1979 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
foxglove/mcap#1907 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信