The 'Apple Push Notification' feature is only available to users enrolled in Apple Developer Program

真机调试时,遇到问题,直接上图

image

图片看不了,请看文字:

The 'Apple Push Notification' feature is only availble to users enrolled in Apple Developer Program. Please visit https://developer.apple.com/programs/ to enroll.

参考方案:点击打开链接

解决步骤:

1、在projectName.xcodeproj文件上右键“显示包内容”,用文本编辑器打开project.pbxproj文件

2、查找:

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

修改为:

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

你可能感兴趣的:(The 'Apple Push Notification' feature is only available to users enrolled in Apple Developer Program)