The 'Apple Push Notification' feature is only available to users enrolled in Apple Developer Program
解决办法: 1、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.
2、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 : )