iOS 异常回溯 - 应用程序入口未符号化

iOS Exception Backtrace - App entry not symbolicating

我从 Apple 收到了以下针对我已提交到应用商店的应用的异常回溯。我已对日志进行符号化,但我的应用程序条目尚未进行符号化。知道我能做些什么来实现这一目标吗?请参阅下面的条目 # 14,其中提供了更多详细信息。任何帮助将不胜感激

Last Exception Backtrace:
 0  CoreFoundation               0x1810cadb0 __exceptionPreprocess + 124
 1  libobjc.A.dylib              0x18072ff80 objc_exception_throw + 56
 2  UIKit                        0x186b6d268 -[UIPopoverPresentationController presentationTransitionWillBegin] + 2884
 3  UIKit                        0x186581fb0 __71-[UIPresentationController _initViewHierarchyForPresentationSuperview:]_block_invoke + 1640
 4  UIKit                        0x1865800c8 __56-[UIPresentationController runTransitionForCurrentState]_block_invoke + 332
 5  UIKit                        0x1864d30c8 _runAfterCACommitDeferredBlocks + 292
 6  UIKit                        0x1864e0a80 _cleanUpAfterCAFlushAndRunDeferredBlocks + 92
 7  UIKit                        0x1862125a4 _afterCACommitHandler + 96
 8  CoreFoundation               0x181080728 _CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
 9  CoreFoundation               0x18107e4cc __CFRunLoopDoObservers + 372
10  CoreFoundation               0x18107e8fc __CFRunLoopRun + 928
11  CoreFoundation               0x180fa8c50 CFRunLoopRunSpecific + 384
12  GraphicsServices             0x182890088 GSEventRunModal + 180
13  UIKit                        0x18628a088 UIApplicationMain + 204
14  MyApp                        0x1000fb144 0x1000e4000 + 94532
15  libdyld.dylib                0x180b468b8 start + 4

问题终于解决了。我在我的代码中调用 UIAlertController 来呈现一个带有各种选项的操作 sheet。为了迎合没有相机的设备,我添加了一个条件语句来直接呈现一个 ImagePicker 而不是一个动作 sheet.

iPAD测试只在没有摄像头的模拟器上进行,直接调用了ImagePicker。当他的条件语句被删除时,它尝试通过 PopoverPresentationController 呈现 Action Sheet 并崩溃 - 正如异常回溯的语句 2 所示。

我随后添加了以下代码来修复疏忽:

 if let popOver = optionMenu.popoverPresentationController {
            popOver.sourceRect = sender.bounds
            popOver.sourceView = sender
        }