IOS真机运行带有Notification Content target的时候证书报错This application or a bundle it contains has the same bun
来源:互联网 发布:网络监控技术 编辑:程序博客网 时间:2024/06/04 19:59
上两篇文章说了本地通知的相关内容,做了测试的推送证书,运行在真机上出现如下问题:
1、第一次报如下错误
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.
原因是demo的Bundle id 与 我们新建的target的Bundle id 不能一致,他们是相互独立的
2、修改了target的bundle id,但是出现了如下问题
"This app contains an app extension with an illegal bundle identifier. App extension bundle identifiers must have a prefix consisting of their containing application's bundle identifier followed by a '.'."
这是因为target的bundle id 与app的证书是有关联的,比如你app的bundle id是
com.company.appname ,那么你的target的bundle id 应该是com.company.appname.extensionname
这个的问题参考这篇文章
0 0
- IOS真机运行带有Notification Content target的时候证书报错This application or a bundle it contains has the same bun
- iOS真机运行出现The certificate used to sign "APP名" has either expired or has been revoked.
- iOS真机运行出现The certificate used to sign "APP名" has either expired or has been revoked.
- iOS真机运行出现The certificate used to sign "APP名" has either expired or has been revoked.
- android报The content of the adapter has changed but ListView did not receive a notification的解决方案
- android adapter报错The content of the adapter has changed but ListView did not receive a notification.
- android studio 真机运行的时候gradle 报错 AGPBI: {"kind":"SIMPLE","text":"Error: C
- iOS ANE 真机运行时报错
- Xcode 上传APP的时候 出现问题 XCode ERROR ITMS-90049 This bundle is invalid The bundle identifier contains di
- The application does not have a valid signature 真机运行签名错误问题
- The content of the adapter has changed but ListView did not receive a notification的解决方案
- Xcode7上传App到Appstore,报错Error ITMS-90049:"This bundle is invalid. The bundle identifier contains dis.
- 打包上传报错!!ERROR ITMS-90049:"This bundle is invalid. The bundle identifier contains disallowed characte
- 没有证书真机运行
- ios真机运行
- Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'Info
- Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'Info
- Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'Info
- java 集合输出所有组合结果
- salesforce 零基础开发入门学习(一)Salesforce功能介绍,IDE配置以及资源下载
- Understanding LSTM Networks
- 2.7
- Access2016学习11
- IOS真机运行带有Notification Content target的时候证书报错This application or a bundle it contains has the same bun
- centos yum的配置文件 repo文件详解
- Redis的Java客户端编写
- 机器学习系列:(九)从感知器到支持向量机
- 构建与定制:唯品会PaaS基于Kubernetes的实践
- Java IO最详解(转自其他地方)
- Mysql学习总结(45)——Mysql视图和事务
- 项目管理
- 聊天界面-自适应文字