由于涉嫌UISearchDisplayController,从TestFlight安装的App崩溃了 [英] Installed App from TestFlight crashes due to alleged UISearchDisplayController
问题描述
我在一个相对较旧的应用中使用了当前Beta版本的Xcode实施了暗模式.我将它们上传到TestFlight供我的测试人员使用.但是,对于拥有iOS 13公开测试版的任何人,这都会立即崩溃.
I implemented Dark Mode with the current beta version of Xcode in a relatively old app. I uploaded these to TestFlight for my testers. However, this crashes immediately for anyone who has the public beta of iOS 13.
我已将Crashlytics集成到应用程序中,导致这些崩溃的原因如下:
I've integrated Crashlytics into the app, and the cause of these crashes is as follows:
使用此版本的iOS时不再支持
UISearchDisplayController
.请将您的应用程序迁移到UISearchController
.
UISearchDisplayController
is no longer supported when using this version of iOS. Please migrate your application toUISearchController
.
所有UISearchDisplayController
实例已被UISearchController
替换.该应用程序不再使用UISearchDisplayController
. UISearchDisplayController
不再有任何链接.尽管如此,这些崩溃仍然继续发生,但仅限于TestFlight的安装.
All UISearchDisplayController
instances have already been replaced by the UISearchController
. The app doesn't use the UISearchDisplayController
anymore. There is no longer any links to the UISearchDisplayController
. Nevertheless, these crashes continue to occur, but only from the installations of TestFlight.
如果在带有公开测试版的iPhone上以Xcode的调试"或发布"方式直接安装了该应用程序,则不会发生崩溃.
If the app is installed directly with Xcode as a "Debug" or "Release" on an iPhone with the public beta, the crash does not occur.
有人对此问题有解决方案吗?
Does anyone have a solution for this problem?
推荐答案
在收到相同的错误并且在我们的应用程序中没有找到对UISearchDisplayController
的引用后,我们意识到我们需要从以下其中一项中搜索并替换searchDisplayController
我们的故事板.在将Beta重新提交给TestFlight之后,这一问题得以解决.
After receiving the same error and finding no references to UISearchDisplayController
across our app, we realized we needed to search for and replace searchDisplayController
from within one of our storyboards. That corrected the issue after resubmitting a beta to TestFlight.
这篇关于由于涉嫌UISearchDisplayController,从TestFlight安装的App崩溃了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!