Xcode运行时证书问题

2015-12-16  本文已影响1022人  laznrbfe

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

上一篇下一篇

猜你喜欢

热点阅读