如何解决firebase错误UISearchdisplayController不再受支持.迁移到UISearchController. [英] how to fix firebase error UISearchdisplayController is no longer supported. Migrate to UISearchController.?

查看:48
本文介绍了如何解决firebase错误UISearchdisplayController不再受支持.迁移到UISearchController.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  • Xcode 11.3版本
  • Xamarin.iOS版本:13.10.0.17(Visual Studio社区)
  • Xamarin.Firebase.iOS.Auth版本:5.0.4.1
  • Xamarin.Firebase.iOS.CloudFirestore版本:0.13.3
  • Xamarin.Firebase.iOS.Core版本:5.1.8

我最近注意到此崩溃,仅适用于应用商店的分布式版本[测试飞行版本]

I have noticed this crash recently, only with app store distributed version [Test flight build]

这两个疯狂的事情适合我:

The two crazy things are for me :

  1. 我没有使用"UISearchDisplayController",而是必需的新"UISearchController".
  2. 为什么不在本地崩溃,而仅在AppStore版本上崩溃?

同一应用程序在模拟器中可以正常运行,没有任何问题.如果我直接从xcode安装应用程序或使用Diawi链接,也可以使用同样的方法.

Same application works fine in simulator without any issue. Same way if I'm installing app directly from xcode or using Diawi link it works fine.

我搜索了整个项目,没有UISearchDisplayController的痕迹.还有在其他地方调用UISearchDisplayController的其他可能性吗?

I searched my whole project, no trace of UISearchDisplayController. Is there any other possibility UISearchDisplayController is called elsewhere ?

有人对此有答案吗?

预先感谢

推荐答案

经过数小时的搜索,我得到了解决方案.

After hours of searching I have got the solution.

我已经在源代码编辑器中打开了Main.Storyboard,然后搜索了"searchDisplayController".而且我发现了它的两个实例.立即删除它后,我已经上传了新版本以测试飞行和中提琴,它正在工作!

I have opened my Main.Storyboard in source code editor and then I have search "searchDisplayController". And I have found two instance of it. After removing it immediately I have uploaded new build to test flight and viola, it's working!

这篇关于如何解决firebase错误UISearchdisplayController不再受支持.迁移到UISearchController.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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