iOS 应用程序在开发人员的 iPad 上运行,但在内部 iPad 上立即失败
我有一个别人编写的 iOS 应用程序,我需要将其安装到同事的 iPad 上。我们最近获得了 Apple Enterprise 开发者帐户,因此可以使用内部分发,并且实际上是这种情况下的首选分发方法。
我能够切换到 Xcode 中的企业配置文件并成功构建应用程序。我可以使用 Xcode 将其同步到我的 iPad,并且运行时不会出现错误。然后我将应用程序通过电子邮件发送给一位同事,他使用 iTunes 将其同步到他的 iPad。当他运行它时,屏幕会变黑一会儿,然后返回主页,上面显示所有已安装的应用程序。
你知道出了什么问题吗?在哪里可以找到更详细的错误消息?我在网上做了一些挖掘,但真的不知道去哪里寻找,因为问题是如此模糊。搜索“iPad 应用程序启动时失败”或“iPad 应用程序启动时失败”的结果很少。有些人建议只需重新启动 iPad,但我想知道到底发生了什么并解决任何潜在的问题。
一件有点奇怪的事情是,当我将存档构建为 Apple 的 文档 建议。
我在 Mac OS 10.7.2 上使用 Xcode 4.1 和 4.3.5 iPad 2。我的同事也有 4.3.5 iPad 2。
I have an iOS app written by someone else that I need to put on a colleague's iPad. We recently got an Apple Enterprise developer account, so in-house distribution becomes available, and is in fact the preferred distribution method in this case.
I was able to switch to the the enterprise provisioning profile in Xcode and build the app successfully. I can use Xcode to sync it to my iPad and it runs without error there. I then email the app to a colleague and he uses iTunes to sync it to his iPad. When he runs it, the screen goes black for a moment and then returns to the home page with all the installed apps on it.
Do you have any idea what is going wrong? Where can I look for more detailed error messages? I did some digging online but don't really know where to look, since the problem is so vague. Searches on "iPad app fails on startup" or "iPad app fails on launch" yield little. Some suggest simply restarting the iPad, but I'd like to know what is really going on and solve any underlying problems.
One thing that is a little weird is that Xcode generated a .xcarchive file, not a .ipa as I was expecting, when I built an archive as Apple's documentation suggested.
I am using Xcode 4.1 on Mac OS 10.7.2 with a 4.3.5 iPad 2. My colleague has a 4.3.5 iPad 2 as well.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我的问题主要是我可以在哪里寻找更多信息。 @keno 关于使用 iPhone 配置实用程序的建议是正确的。它让我可以查看应用程序的控制台输出并从那里进行调试。问题解决了。
关于生成 .xcarchive 而不是 .ipa 文件的奇怪之处,我没有注意到 Xcode 组织器窗口中存档面板右上角的共享...按钮。通过该按钮共享也达到了目的。
生活和学习。谢谢大家。
My question was mostly where I could look for more information. @keno's suggestion to use the iPhone Configuration Utility was spot on. It let me view the console output of the app and debug from there. Problem solved.
Regarding the weirdness about the .xcarchive being generated and not a .ipa file, I didn't notice the Share... button in the upper right of Xcode's archive panel in its Organizer window. Sharing through that button did the trick, too.
Live and learn. Thanks everyone.