首页 > 学院 > 开发设计 > 正文

在xcode8中使用真机调试错误解决办法

2019-11-09 17:52:35
字体:
来源:转载
供稿:网友

错误一: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.重新编译
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表