iPad 应用程序临时分发的代码签名问题

发布于 2024-09-19 16:01:04 字数 466 浏览 1 评论 0原文

我已经花了一个周末尝试通过临时方式安装我的应用程序,以进行 beta 测试和演示。我可以从 Xcode 安装,但是当我尝试获取应用程序文件并将其放入 iTunes,然后尝试同步时,我不断收到错误“该应用程序未安装在 iPad 上,因为它未签名”。

我已经完成了所有步骤。我们转到配置门户并添加所有设备。然后,我们下载了分发配置文件并将其安装到开发计算机上。我们创建了一个 Entitlements.plist 文件,尽管没有 get-task-allow 属性,所以我必须添加自己的属性。我清理了目标,重新启动了 Xcode,使用为代码签名权利设置的 Entitlements.plist 在临时配置文件下构建了应用程序。

我将生成的应用程序文件拖到 iTunes 的应用程序区域,点击同步,然后出现错误。

我知道我做错了什么,错过了一个步骤,但这一定是一个令人费解、晦涩的步骤,苹果在他们的文档中没有。那么有人能看到我正在做的事情有问题吗?如果可以的话请告诉我。谢谢。

I've been trying for a weekend now to install my application via ad-hoc means for beta testing and demo purposes. I can install from Xcode just fine, but when I try and take the app file and place it into iTunes, then try and synch, I keep getting the error "The application was not installed on the iPad because it is not signed".

I have gone through all the steps. We went to the provisioning portal and added all the devices. We then downloaded a distribution provisioning profile and installed that onto the development computer. We created an Entitlements.plist file, though there was no get-task-allow attribute, so I had to add in my own. I cleaned the targets, restarted Xcode, built the application under the ad-hoc profile with the Entitlements.plist set for the Code Signing Entitlements.

I take the app file that's generated and drag it into the Applications area of iTunes, hit synch, and I get the error.

I know I am doing something wrong, missing a step, but it must be a convoluted, obscure step that Apple doesn't have in their documentation. So can anyone see the problem in what I'm doing? If you could, let me know. Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

§对你不离不弃 2024-09-26 16:01:04

好的。耶。经过一番努力之后才弄清楚这一点。

显然,您遵循的构建很重要。我一直在测试并构建 Simulator 文件夹,但这是错误的。

要部署到设备,您应该清理所有目标,然后专门针对该设备进行构建。您不必运行它或插入某些东西,但您必须根据设备进行构建。为模拟器生成的 APP 与为设备生成的 APP 不同。

Ok. Yay. Figured this out after some more hair-pulling.

Apparently, the build you follow is important. I kept testing and building to the Simulator folder, and this is wrong.

To deploy to a device, you should clean all targets and then build specifically to the device. You don't have to run it or have something plugged in, but you must build to device. The APP that is produced is different for simulator as it is for device.

梦晓ヶ微光ヅ倾城 2024-09-26 16:01:04

您是否将目标中的“代码签名权利”构建设置设置为“Entitlements.plist”?

Did you set the "Code Signing Entitlements" build setting in your target to "Entitlements.plist"?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文