LoginSignup
2
1

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

以上です。

2
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
2
1