LoginSignup
40
22

More than 3 years have passed since last update.

Apple Storeから警告?が来た Missing Push Notification Entitlement の対処方

Posted at

はじめに

xcodeのバージョンは11
ionicで開発したアプリです。

アーカイブ作成+アップロード後に起きた

【2019年版】iOSアプリをApp Storeに公開するための全手順まとめ

上記のページでの手順8の後にApp Store Connectからメールが来た。。

Dear Developer,

We identified one or more issues with a recent delivery for your app, >"アプリ名" 1.0 (1). Your delivery was successful, but you may wish to >correct the following issues in your next delivery:

ITMS-90078: Missing Push Notification Entitlement - Your app appears to >register with the Apple Push Notification service, but the app >signature's entitlements do not include the "aps-environment" >entitlement. If your app uses the Apple Push Notification service, make >sure your App ID is enabled for Push Notification in the Provisioning >Portal, and resubmit after signing your app with a Distribution >provisioning profile that includes the "aps-environment" entitlement. >Xcode does not automatically copy the aps-environment entitlement from >provisioning profiles at build time. This behavior is intentional. To >use this entitlement, either enable Push Notifications in the project >editor's Capabilities pane, or manually add the entitlement to your >entitlements file. For more information, see >https://developer.apple.com/library/content/documentation/NetworkingInt>ernet/Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html>#//apple_ref/doc/uid/TP40008194-CH6-SW1.

After you’ve corrected the issues, you can use Xcode or Application >Loader to upload a new binary to App Store Connect.

Best regards,

The App Store Team

最初は意味不明だった。。

こちらを参考にしたところ、プッシュ通知の設定をしろって事らしい。

プッシュ通知の設定

・Xcodeを開く
TARGETSを選択
signing & capabilitiesを選択
+Capabilityのボタンを押す
・検索枠にpushと入れてPush Notificationsを選ぶ

スクリーンショット 2019-10-24 17.40.13.jpg

追加された。

ビルド番号を変更してもう一度アーカイブを作る

TARGETSの中のGeneralでビルド番号を変更

スクリーンショット 2019-10-26 20.27.28.jpg

その後は前にアーカイブを作った通りに
Product>Archive>Distribute Appで新しいアーカイブを作る。

App Store Connectでビルドのバージョンを変更

アーカイブのアップロード後、少し時間を置いてからApp Store Connectへ行く。

まずは既存のビルドを消す(赤色のマイナスアイコンを選択)

②またプラスアイコンを押す
スクリーンショット 2019-10-26 20.03.40.jpg

③新しいバージョンを選ぶ
スクリーンショット 2019-10-26 20.03.32.jpg

今の所同じ警告メールは来ていない。。。

参考

再審査に出す方法
https://techa1008.com/rocket-note/2018/03/07/how-to-submit-ios-app-for-reconsideration-on-itunes-connect/

40
22
2

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
40
22