Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
428 views
in Technique[技术] by (71.8m points)

ios - Installed App from TestFlight crashes due to alleged UISearchDisplayController

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.

I've integrated Crashlytics into the app, and the cause of these crashes is as?follows:

UISearchDisplayController is no longer supported when using this version of?iOS. Please migrate your application to?UISearchController.

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.

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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...