iOS应用程序可在模拟器上运行,但不能在TestFlight上运行 [英] iOS app working on simulator but not over TestFlight

查看:190
本文介绍了iOS应用程序可在模拟器上运行,但不能在TestFlight上运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用TestFlight时遇到了问题.

i've got a problem with TestFlight.

通过USB电缆连接时,我的应用程序在iOS模拟器(8.1& 9.1)和iPad(9.0.2)上运行良好. 现在,我想通过TestFlight与一些朋友分享我的应用程序. 通过TestFlight下载并安装后,同一应用无法在以前运行良好的iPad上运行.

My app works fine in iOS simulator (8.1 & 9.1) and on my iPad (9.0.2) when connected over USB cable. Now i want to share my app over TestFlight with some friends. After download and install via TestFlight the same app don't work on the same iPad it worked fine before.

当我启动TestFlight版本时,需要花费几秒钟,然后屏幕变黑,再过几秒钟,我回到主屏幕. 再次连接iPad后,设备上没有崩溃日志.

When i start the TestFlight version it takes some seconds then the screen turns black and after a few more seconds i get back to the home screen. After connecting the iPad again there are no crash logs on device.

我该怎么办才能找到错误?是否可以通过xcode的调试控制台调试TestFlight应用程序?

What can i do to find the error? Is there a possibility to debug TestFlight apps with the debug console from xcode?

推荐答案

使用模拟器并连接到USB时,是否使用了释放方案?

When using the simulator and attached with the USB are you using the release scheme?

否则,在Xcode中:

If not, in Xcode:

  1. 产品
  2. 编辑方案
  3. 选择左侧面板上的运行
  4. 在右侧窗格中,选择顶部的信息",然后为构建配置发布(而不是调试")

然后,当您在模拟器中或在(连接的)iPad上进行构建时,您很可能会获得与TF安装(或部署)相同的结果,并可以查找应用程序崩溃的位置.不要忘记在Breakpoint Navigator中打开All Exception.

Then, when you build in the simulator or on your (connected) iPad you will, most likely, get the same result as the TF install (or a deployment) and can find where your app is crashing. Don't forget to turn on All Exceptions in the Breakpoint Navigator.

我已经做到了,而且可行.

I've done this and it works.

这篇关于iOS应用程序可在模拟器上运行,但不能在TestFlight上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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