应用仅在Testflight构建时崩溃 [英] App Crashes Only On Testflight Build

查看:177
本文介绍了应用仅在Testflight构建时崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我迅速创建了一个应用程序,并使用iPhone 6,iPhone 6 plus和iPhone 5设备以及Xcode提供的所有模拟器对它进行了广泛的测试.该应用程序运行良好,在本地上传时不会崩溃. (iOS 8)

I have created an app on swift and tested it extensively using iPhone 6, iPhone 6 plus and iPhone 5 devices and all the simulators offered in Xcode. The app runs fine and does not crash when uploaded locally. (iOS 8)

我终于提交了Testflight的版本.通过Testflight版本下载应用后,该应用始终在同一位置崩溃.

I finally submitted a build for Testflight. The app consistently crashes at the same place after downloading the app through the Testflight build.

是否存在一个已知问题,即上载的版本与本地创建的版本运行方式不同?以及如何调试Testflight版本的问题?

Is there a known issue where uploaded builds run differently than locally created builds? And how can I debug the issue with the Testflight build?

推荐答案

我通过将快速编译器优化从fastest更改为none解决了该问题.我不确定这是否是理想的长期解决方案,但是构建不再崩溃.

I solved the issue by changing the swift compiler optimization from fastest to none. I'm not sure if this is an ideal long term solution, but the build no longer crashes.

这篇关于应用仅在Testflight构建时崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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