[Swift] Missing Push Notification Entitlement.

A problem breaking my peace.

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. ・ ・ ・

Okay so the submitted app is missing some kind of “entitlement”. So what is this entitlement?

So email is probably saying that I need some kind of permission for Push Notification!

Here is step of Solution.

1. Go to developer.apple.com

[https://developer.apple.com/] → [Account] → [Certificates, Identifiers & Profiles] -> [identifiers] -> [Click your app Identifier row]

2. Push Notifications Configure

Scroll down, find “Push Notifications”, ☑️ check the box and click Configure button.

3. Create Certificate

You will find two Certificates: “Development SSL Certificate” & “Production SSL Certificate”

You need two add certificates for both sections, but it’s exactly same way to do both.

4. Select Certificate or Make one

[Click: Create Certificate] → [Choose file] → [Continue]

If u have no idea what to choose {a. Go to the “Key chain” located in /Applications/Utilities.b. [Keychain Access] → [Certificate Assistant] → [Request a Certificate from a Certificate Authority].c. User email address: (your email)d. Common Name: (enter a name for the key)e. CA email address: (leave it blank)f. Choose “Saved to disk”, and click Continue.} else {

[Choose file] → [Continue]
}

5. XCODE Settings

[Xcode] → [Your app] →[Target] → [Signing & Capabilities] → [+Capability] → [Find & double click “Push Notification”]

That will be pretty much it.
Please let me know if I’m anything wrong about it :-)

Have a great day.

< resources:
https://help.apple.com/developer-account/#/devbfa00fef7,
https://blog.themuser.xyz/ios-missing-push-notification-entitlement-%EC%9D%B4%EC%8A%88-%ED%95%B4%EA%B2%B0/ >

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store