1.最新在处理Firebase上面的Crashlytics,然后就出现Fatal Exception: UIApplicationInvalidInterfaceOrientation Supported orientations has no common orientation with the application, and [GADFullScreenAdViewController shouldAutorotate] is returning YES -[UnityAppController(Rendering) processTouchEvents]的问题。
2.查找了一堆资料后和在IOS同事帮助下大概有一个解决方案。
先找到xcode的UnityAppController.mm文件,然后找到supportedInterfaceOrientationsForWindow这个方法,把里面的return直接改成UIInterfaceOrientationMaskAll,我这截图下面那行return应该就是跟admob或者其它的SDK中一些UI有其它方向在里面,然后出问题的那个