美文网首页
iOS 真机调试报错 The 'Apple Push N

iOS 真机调试报错 The 'Apple Push N

作者: MrSYLong | 来源:发表于2017-09-03 22:02 被阅读35次

真机调试遇到有推送的Demo,会报这个错误,解决的方法很简单
1.在projectName.xcodeproj文件上右键“显示包内容”,用文本编辑器打开“project.pbxproj”文件
查找:
com.apple.Push = {
enabled = 1;
};
修改为:
com.apple.Push = {
enabled = 0;
};
2.在build settings里搜索code sign,修改如下图:

C3EBFCFD-B5EA-4CCC-8F21-26F75C557892.png

相关文章

网友评论

      本文标题:iOS 真机调试报错 The 'Apple Push N

      本文链接:https://www.haomeiwen.com/subject/mertjxtx.html