相机拍照友盟检测crash是为什么?

友盟报错如下
* setObjectForKey: object cannot be nil (key: UIImagePickerControllerOriginalImage)
(null)
((

0   CoreFoundation                      0x00000001886dd1d0 <redacted> + 148
1   libobjc.A.dylib                     0x000000018711455c objc_exception_throw + 56
2   CoreFoundation                      0x00000001885bda0c <redacted> + 0
3   PhotoLibrary                        0x000000019548bc18 <redacted> + 744
4   PhotoLibrary                        0x000000019548b8f0 PLNotifyImagePickerOfImageAvailability + 28
5   CameraUI                            0x000000019e05f4a4 <redacted> + 456
6   CameraUI                            0x000000019e05df3c <redacted> + 1312
7   CameraUI                            0x000000019e137970 <redacted> + 160
8   libdispatch.dylib                   0x00000001875661fc <redacted> + 24
9   libdispatch.dylib                   0x00000001875661bc <redacted> + 16
10  libdispatch.dylib                   0x000000018756ad68 _dispatch_main_queue_callback_4CF + 1000
11  CoreFoundation                      0x000000018868a810 <redacted> + 12
12  CoreFoundation                      0x00000001886883fc <redacted> + 1660
13  CoreFoundation                      0x00000001885b62b8 CFRunLoopRunSpecific + 444
14  GraphicsServices                    0x000000018a06a198 GSEventRunModal + 180
15  UIKit                               0x000000018e5fd7fc <redacted> + 684
16  UIKit                               0x000000018e5f8534 UIApplicationMain + 208
17  ***(app名字)                                 0x1000cecd4 ***(app名字) + 847060
18  libdyld.dylib                       0x00000001875995b8 <redacted> + 4

)

dSYM UUID: FBB6E11C-9F8F-333F-90D4-254E489C3583
CPU Type: arm64
Slide Address: 0x0000000100000000
Binary Image: *(app名字)
Base Address: 0x0000000100090000
如果你遇到了,还请给一个解决方案


相机拍照友盟检测crash是为什么? >> ios

这个答案描述的挺清楚的:
http://www.goodpm.net/postreply/ios/1010000008983795/相机拍照友盟检测crash是为什么.html
原文地址:https://www.cnblogs.com/scrumme/p/7351674.html