美文网首页
IOS开发入门之证书报错This application or

IOS开发入门之证书报错This application or

作者: Sh1mmer | 来源:发表于2020-10-19 08:33 被阅读0次

is 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

3、Internal launch error: process launch failed: The operation couldn’t be completed. Unable to launch com.xxx.xxx because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user
编译时,需要联网认证profile。另外苹果对安装的包有签名验证,并且校验的请求有证书验证,所以安装时不能使用代理。断网情况下编译能成功,但是手机上无法启动。

编译后需要认证profile。设置->通用->设备管理。

相关文章

网友评论

      本文标题:IOS开发入门之证书报错This application or

      本文链接:https://www.haomeiwen.com/subject/nnzruktx.html