最新消息:20190717 VPS服务器:Vultr新加坡,WordPress主题:大前端D8,统一介绍入口:关于

[已解决]Xcode连iPhone真机调试出错:App installation failed This application’s application-identifier entitlement does not match that of the installed application

iphone crifan 2401浏览 0评论

Xcode,用的是企业开发者账号和code signing

去连接iPhone真机去调试,结果出错:

App installation failed

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

如图:

-》感觉是iPhone真机中,已经安装了之前旧版本的app

估计去删除掉旧的,再去用Xcode调试安装当前代码的新版app,就可以了。

[后记]

删除掉之后,再去调试,结果又出现其他错误:

Could not launch “Sales App”

Verify the Developer App certificate for your account is trusted on your device. Open Settings on Crifan iPhone6 and navigate to General -> Device Management, then select your Developer App certificate to trust it.

console的log输出为:

error: failed to launch ‘/private/var/containers/Bundle/Application/79882A94-69CD-45D7-874D-7C650B9A6DA4/集客管家.app’ — Verify the Developer App certificate for your account is trusted on your device. Open Settings on Crifan iPhone6 and navigate to General -> Device Management, then select your Developer App certificate to trust it.

-》

需要去信任该app才可以:

然后设置为信任,以为即可正常安装和调试app,结果又出错:

Could not launch “Sales App”

process launch failed: failed to get the task for process 1424

-》

看来,还是要把:

之前的企业版证书:

换成普通的个人开发者账号:

才能正常的,通过Xcode安装和运行调试app

结果还是出错:

App installation failed

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

-》看来需要删除iPhone上之前的,企业版证书的app,后,重新安装和调试,估计就可以了。

转载请注明:在路上 » [已解决]Xcode连iPhone真机调试出错:App installation failed This application’s application-identifier entitlement does not match that of the installed application

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
63 queries in 0.108 seconds, using 18.82MB memory