特别构建和签名者无效问题
我正在尝试进行临时构建,但当人们尝试将我的应用程序同步到他们的 iPad 时,我收到“签名者无效”错误。我很困惑,因为我环顾四周,发现配置门户中的此页面上根本没有提到这个“Entitlements.plist”文件:
https://developer.apple.com/ios/manage/distribution/distribution.action
我是否有错误的操作方法页面?我想,我正确地遵循了该页面,但我很难测试到底出了什么问题,因为在我的 ipad 上,我得到了这个团队配置文件,它似乎使一切正常工作(我无法得到错误)。问题可能是在我的 Target 的 GetInfo 中,我将代码签名身份的“任何 iOS 设备”字段设置为 iPhone Developer 而不是 Ad Hoc Provision 项目吗?
或者我是否需要上面链接中未提及的权利 plist 文件?
I am trying to make an ad hoc build, but I get this "the signer is not valid" error when people try to sync my app to their ipad. I'm getting confused because I look around and there is mention of this "Entitlements.plist" file that is not mentioned at all on this page in the provisioning portal:
https://developer.apple.com/ios/manage/distribution/distribution.action
Do I have the wrong how-to page? I followed that page correctly, I thought, but am having a hard time testing what exactly is wrong because on my ipads I get this team provisioning profile which seems to make everything work ok (I can't get the error). Could the problem be that in my Target's GetInfo I had the Code Signing Identity's "Any iOS Device" field set to iPhone Developer and not to the Ad Hoc Provision item?
Or do I need this entitlements plist file that isn't mentioned in the link above?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,您关于代码签名身份的假设是正确的。
团队配置文件使一切只能在开发设备上运行。 Ad-Hoc 构建需要 Ad-Hoc 分发配置文件来代替签名。
确保在创建临时构建的配置中为“代码签名身份”选择“iPhone 分发”证书,而不是“iPhone 开发人员”证书。
Yes, your assumption is correct regarding the code signing identity.
The team provisioning profile makes everything work only on the development devices. Ad-Hoc builds require an Ad-Hoc distribution profile instead for signing.
Make sure in the configuration for creating ad-hoc builds to choose the "iPhone distribution" certificate for "Code Signing Identity" instead of the "iPhone developer" certificate.