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

RajuBhai Rocker picture RajuBhai Rocker · May 30, 2016 · Viewed 7.4k times · Source

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

Answer

Dante picture Dante · Aug 18, 2016

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 : )