用可以推送的 账号team 运行 , 极光推送 官网demo 项目出现:
使用真机:
“This application or a bundle it contains has the same bundle identifier as this application or another bundle that it contains. Bundle identifiers must be unique.”
(提示你有重复的bundle id app 应用 已经安装在你手机上了,你可以看一下有么有重名重bundleid 的,如果没有可能是账号和配置文件的问题)
使用模拟器:
“Failed to set plugin placeholders for 你的bundleid”
推测问题大概率是账号问题:
1.你需要重新 进入苹果开发者中心,配置开发文件;
2.把配置的文件导出成p12文件;
3.根据极光推送官网的 SDK配置方法,把P12文件导入;
4.填写x项目的bundler ID
重新打开Demo,一般可以运行成功。
如果是其他的项目Demo,出现类似问题,也可以通过配置文件来逐步排除问题。。。