Xcode运行时证书问题

App installation failed(Xcode 7.1)

This application's application-identifier entitlement does not 
match that of the installed application. These values must match 
for an upgrade to be allowed.
App_installation_failed.jpg

原因:设备上已经存在相同Bundle Identifier的应用
解决:删除设备上相同Bundle Identifier的应用

Could not launch “Your Project Name”(Xcode 7.1)

process launch failed: Security
Could_not_launch.jpg

现象一:设备上会按照该App,但是不能直接打开。(个人开发者应该不会有这问题,公司的证书会存在这问题)
原因一:证书不受信任。点击设备上的App图标,会弹出提示(如下图)。
解决一:设置-->通用-->描述文件-->点击你的开发者账号-->信任。

NoSecurity.jpg

updated certificate

The certificate used to sign "YourProject" 
has either expired or has been revoked. 
An updated certificate is required to sign 
and install the application.

原因:本地没有相关证书。
解决:Xcode(桌面左上角)-->Preferences...(快捷键command+,)-->Accounts-->从Apple IDs列表点击相关用户-->View Details...-->Download All

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容