Skip to content

签名

1.签名是对的,为什么应用无法安装调试?

请确认签名是否过期,当前机器上同一个证书是不是存在两个版本,删掉那个多余的历史版本

2.为什么发现打包出来的应用缺失了一些证书权限,请检查一下你的 mobileprofile 文件看看 ENTITLEMENTS 部分是不是跟你项目中的 ${TargetName}.entitlements 文件里面的配置是否一致

如果不一致,要么删一下 entitlements 文件中的内容,要么重新去苹果开发者网站重新生成 mobileprofile 文件

3.混淆工具编译设置中的签名中的 identity 应该怎么设置最合理?

首先 Debug 模式的 identity 请使用 Apple Development 或者 iPhone Developer,然后 Release 模式的 identity 请使用 Apple Distribution 或者 iPhone Distribution,具体是哪个,就看你的证书名称是 Apple Development:XXXX 的,还是 iPhone Development:XXXX 的形式,前者是苹果提供的通用证书,后一种是只在 iPhone 上使用的证书.