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

3

6

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

Crinoline answered 30/5, 2016 at 9:22 Comment(0)
F
4

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.

Finale answered 22/6, 2016 at 6:58 Comment(0)
I
7

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

Iglesias answered 18/8, 2016 at 2:54 Comment(0)
F
4

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.

Finale answered 22/6, 2016 at 6:58 Comment(0)
E
3

To right click on the projectName.xcodeproj -> Show Package Contents -> open the project.pbxproj -> search the "com.apple.Push" -> set enabled = 0

Exonerate answered 18/8, 2016 at 3:14 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.