友盟报错如下
* setObjectForKey: object cannot be nil (key: UIImagePickerControllerOriginalImage)(null)((0 CoreFoundation 0x00000001886dd1d0+ 1481 libobjc.A.dylib 0x000000018711455c objc_exception_throw + 562 CoreFoundation 0x00000001885bda0c + 03 PhotoLibrary 0x000000019548bc18 + 7444 PhotoLibrary 0x000000019548b8f0 PLNotifyImagePickerOfImageAvailability + 285 CameraUI 0x000000019e05f4a4 + 4566 CameraUI 0x000000019e05df3c + 13127 CameraUI 0x000000019e137970 + 1608 libdispatch.dylib 0x00000001875661fc + 249 libdispatch.dylib 0x00000001875661bc + 1610 libdispatch.dylib 0x000000018756ad68 _dispatch_main_queue_callback_4CF + 100011 CoreFoundation 0x000000018868a810 + 1212 CoreFoundation 0x00000001886883fc + 166013 CoreFoundation 0x00000001885b62b8 CFRunLoopRunSpecific + 44414 GraphicsServices 0x000000018a06a198 GSEventRunModal + 18015 UIKit 0x000000018e5fd7fc + 68416 UIKit 0x000000018e5f8534 UIApplicationMain + 20817 ***(app名字) 0x1000cecd4 ***(app名字) + 84706018 libdyld.dylib 0x00000001875995b8 + 4
)
dSYM UUID: FBB6E11C-9F8F-333F-90D4-254E489C3583
CPU Type: arm64Slide Address: 0x0000000100000000Binary Image: *(app名字)Base Address: 0x0000000100090000如果你遇到了,还请给一个解决方案 >> 这个答案描述的挺清楚的: