真机调试时,遇到问题,直接上图
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;
};
网友评论