Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode free provisioning: The 'Apple Push Notification' feature is only available to users enrolled in Apple Developer Program

I am trying to use xcode free provisioning but I am getting the following problem

enter image description here

I have disabled Remote Notification after getting this problem but it still does not go away.

enter image description here

How to fix this problem

xcode version 7.2 ios version 9+

Note:

xcode has created a certificate for me .I could see this in keychain

like image 877
RajuBhai Rocker Avatar asked May 30 '16 09:05

RajuBhai Rocker


People also ask

How do I enable push notifications on iOS?

Go to Settings and tap Notifications. Select an app under Notification Style. Under Alerts, choose the alert style that you want. If you turn on Allow Notifications, choose when you want the notifications delivered—immediately or in the scheduled notification summary.


2 Answers

Here is a shortcut for those who tried the delete certificate way but still not working:

Find your project's projectName.xcodeproj,click "open content",edit "project.pbxproj" with a txt editor :

change:

com.apple.Push = { 
enabled = 1; 
};

into:

com.apple.Push = { 
enabled = 0; 
};

Redo the build and this time no error on push : )

like image 177
Dante Avatar answered Oct 13 '22 14:10

Dante


Delete the certificate from the keychain. Remove your account from the xcode->preference->Accounts. Add your account again. The issue will be resolved. The remote notification feature is not available for free apple developer account.

like image 26
Michael Todd Avatar answered Oct 13 '22 12:10

Michael Todd