7

I am supporting for one existing native iOS application. For this am able to generate IPA successfully from Xcode but while generating build from devops am facing the issue:

Requires a provisioning profile with the Push Notifications feature

How can I get past this error and build for my device?

pkamb
  • 33,281
  • 23
  • 160
  • 191
Pinki
  • 21,723
  • 16
  • 55
  • 88

2 Answers2

-2

A Provisioning Profile must be installed on each device your application code should run on. Each Development Provisioning Profile will contain a set of iPhone Development Certificates, Unique Device Identifiers and an App ID.

Devices specified in the Development Provisioning Profile can be used for testing only by those individuals whose Development Certificates are included in the profile. To create :

  • Login to the developer account connected to your project, and under Certificates, Identifiers & Profiles -> Profiles -> Register a New Provisioning Profile by clicking the add new button.
  • Choose for which purpose provisional profile is required.

    a. For developement purpose. (the app can be downloaded only in registered devices if the application is in development stage. For this, The device UDID is required to be added in device list).
    
    b. For distribution purpose ( The provisonal file required for uploading app in the app store)
    
  • After Selecting above, click continue.

  • Choose your Appid (i.e. Bundle id) from the list and click continue.

  • After registering, download the provisional profile (File with extension name.mobileprovision will get downloaded) and double click the file to the Xcode project to include the provisional certificate to be added.

Gowri K
  • 57
  • 5
  • Thanks for your quick response.I have a profile how would i know is it development / distribution from apple developer account? – Pinki Aug 21 '19 at 06:10
  • In the profiles section -> TYPE will be displayed as Development / App Store / Adhoc . Note: Distribution profiles do not need Device IDs. – Gowri K Aug 21 '19 at 07:24
-3

you need to follow below steps

  • go to developer account

  • make provisioning profile for bundle identifier that you are using
    Adhoc(test) or Distribution(production)

  • enable push notification

  • download the certificate

  • click on the certificate

Shayan
  • 75
  • 3
  • @Shyan: I have mentioned in my question itself about this push notification feature is enabled in developer account – Pinki Aug 21 '19 at 06:17
  • great! did you create the provisioning profile against your bundle identifier? – Shayan Aug 21 '19 at 08:02