iOS App无法在Testflight Ad Hoc Distribution上启动 [英] iOS App Won't start on Testflight Ad Hoc Distribution

查看:330
本文介绍了iOS App无法在Testflight Ad Hoc Distribution上启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我通过Xcode运行时,我正在开发一个在我的手机上运行良好的应用程序。但是,当我通过TestFlight分发测试版时,没有任何用户可以运行它 - 注意:他们可以在手机上安装应用程序,没有任何问题。应用程序在启动之前就关闭了,并且TestFlight上没有崩溃日志。

I'm developing an application that works perfectly well on my phone when I run it through Xcode. But when I distribute a beta through TestFlight, none of the users can run it - NOTE: They can install the app on their phones without any problem. The application just closes before it launches and there are no crash logs on TestFlight.

我可以将任何测试人员的手机连接到我的计算机并在他们身上运行应用程序(使用Xcode)就好了。我想也许这是配置配置文件的问题,但在我的手机上,我可以从设置应用程序中删除相关的配置文件,然后从TestFlight链接安装应用程序,它仍然运行正常。

I can connect any of my testers' phones to my computer and run the app on them (using Xcode) just fine. I thought maybe this is a problem with provisioning profiles, but on my phone, I can delete the relevant profile from Settings app then install the app from the TestFlight link, and it still runs fine.

从我在Stack Overflow上看到的内容来看,这一定是因为应用程序的Release和debug设置存在一些差异,但我完全是失去了如何调试它。当它连接到Xcode时我无法在发布模式下运行应用程序,并且当它未连接到Xcode时我无法进行调试。

From things I've read on Stack Overflow, this must be because of some difference in "Release" and "debug" settings of the app, but I'm totally lost as to how to debug it. I can't run the app in release mode while it's connected to Xcode, and I can't debug when it's not connected to Xcode.

有任何建议吗?

更新 - 已解决

我最终解决了这个问题。 SO用户Cliff Ribaudo遇到了同样的问题(显然他是唯一的另一个人)并且他发布了这个问题这里终于找到了解决方案此处。解决方案结果是设置了两个链接器标志: STRIP LINKED PRODUCT = NO & STRIP STYLE =调试符号。我不知道为什么要修复它,我不知道为什么它首先被破坏了。但是,自从我做出这些改变以来,我们没有遇到过此次崩溃

I did end up "solving" this problem. SO user Cliff Ribaudo had the same problem (apparently he was the only other person) and he posted about it here and finally found the solution here. The solution turned out to be setting two linker flags: STRIP LINKED PRODUCT = NO & STRIP STYLE = DEBUGGING SYMBOLS. I have no idea why this fixed it, and I don't know why it was broken in the first place. But we haven't had this crash since I made these changes.

推荐答案

谢谢,Kerni我能够通过
iPhone配置实用程序
。我选择了我正在调试的设备并打开iPhone配置实用程序上的控制台选项卡,然后点击清除并查看它。我在让应用程序再次崩溃后保存了日志,发现我在创建配置文件时没有将其添加到App ID时使用了In-App Audio。这是唯一的问题。在我再次抛出所有步骤之后,IPA Uploaded就好了。安装的应用就像人们想象的那样!

Thanks, Kerni I was able to debug the issue by tracking down the crash report via iPhone Configuration Utility . I Selected the Devices I was debugging and opened the Console Tab on the iPhone Configuration Utility hitting clear and check it out. I Saved the log after getting the app to crash again and found that I had been using In-App Audio when I didn't add it to the App ID when I was creating my provisioning profile. This was the only issue. After I went threw all of the steps again the IPA Uploaded just fine. The app installed like one would imagine!

简而言之:


  1. 使用iPhone配置实用程序进行调试(问题是在应用程序ID生成时未选择应用程序内音频)

  1. Debugged with iPhone Configuration Utility (issue was In-App Audio wasn't selected on the App ID Generation)

生成新的应用程序ID和配置个人资料

Generated a New App ID and Provisioning Profile

<< <<控制台调试在这里>>>>:
http://help.testflightapp.com/customer/portal/articles/1305502-my-apps-are-failing-to-install-what-do-i-do-

<<<< Console Debugging here >>>>: http://help.testflightapp.com/customer/portal/articles/1305502-my-apps-are-failing-to-install-what-do-i-do-

这篇关于iOS App无法在Testflight Ad Hoc Distribution上启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆