業界トップクラスの求人数を誇る転職エージェントPR

リクルートグループのコネクションを活かした非公開求人も充実、他にはない好条件の求人と出会える

3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

[Xcode]PUSH_NOTIFICATIONSのエラーが出てビルドできないので解決する。

Posted at

概要

とあるSDKのiOSサンプルを実行しようとすると以下画像のように
Your development team does not support the Push Notifications capability.と出た。
そしてビルドができない。

スクリーンショット 2020-07-18 8.12.11.png

解決

とりあえず課金

失効していたApple Developer Programを更新した。
現在は年間税込で12980円である
Apple Developer

更新すると、以下のようになる。
スクリーンショット 2020-07-17 21.18.57.png

Push Notificationを有効化

  1. Apple DeveloperCertificates, Identifiers & Profilesをクリック。
  2. 左側メニューのIdentifiersをクリック
  3. 該当のプロジェクトを探してクリック
  4. Push Notificationを有効化する(何かに同意した記憶がある)。

参考画像
スクリーンショット 2020-07-17 21.27.10.png

解決

Projectのページに戻って再度Signing & Capabilitiesを見る。
エラーだったところが、以下になりビルドできた。
スクリーンショット 2020-07-18 8.29.42.png

Xcode 11.5

以上です。

3
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up

Qiita Conference 2025 will be held!: 4/23(wed) - 4/25(Fri)

Qiita Conference is the largest tech conference in Qiita!

Keynote Speaker

ymrl、Masanobu Naruse, Takeshi Kano, Junichi Ito, uhyo, Hiroshi Tokumaru, MinoDriven, Minorun, Hiroyuki Sakuraba, tenntenn, drken, konifar

View event details
3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?