错误一:Failed to create PRovisioning profile.
解决办法:1.新建一个空的工程,把原来项目的Bundle Id复制粘贴过去
2.在Product Name 下面有一个Team,选中真机调试的Team账号,然后创建空项目就会生成描述文件了
3.clean一下原来的项目重新打开就可以了
错误二:The 'Apple Push Notification' feature is only available to users enrolled in Apple Developer Program...
解决办法:1.打开project.pbxproj,搜com.apple.Push 改成enabled = 0(在projectName.xcodeproj文件上右键“显示包内容”,用文本编辑器打开“project.pbxproj”文件)2.在build settings里搜索code sign,并把后面的路径清空3.重新编译新闻热点
疑难解答