0

请问各位大神,我的项目上线了只在iOS 9.0~9.3之间崩溃,但是开发环境却不会。网上查找了很多,发现全部人都在说是因为图片广色域导致的,但是我按照网上的说法排除了这个原因,我的项目中并没有P3和16位的图片。那么究竟是什么原因导致的呢?

PS: 附上Bugly上的崩溃信息:
libobjc.A.dylib objc_msgSend + 16
1 CoreFoundation -[_CFXNotificationTokenRegistration copyHandler] + 64
2 CoreFoundation __CFXRegistrationPost + 384
3 CoreFoundation ____CFXNotificationPost_block_invoke + 60
4 CoreFoundation -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1532
5 CoreFoundation _CFXNotificationPost + 368
6 Foundation -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
7 UIKit -[UIApplication _deactivateForReason:notify:] + 808
8 UIKit ___61-[UIApplication _sceneSettingsPreLifecycleEventDiffInspector]_block_invoke + 124
9 FrontBoardServices ___52-[FBSSettingsDiffInspector inspectDiff:withContext:]_block_invoke27 + 208
10 Foundation ___NSIndexSetEnumerate + 716
11 BaseBoard -[BSSettingsDiff inspectChangesWithBlock:] + 104
12 FrontBoardServices -[FBSSettingsDiff inspectOtherChangesWithBlock:] + 88
13 FrontBoardServices -[FBSSettingsDiffInspector inspectDiff:withContext:] + 292
14 UIKit ___70-[UIApplication scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke + 120
15 UIKit -[UIApplication scene:didUpdateWithDiff:transitionContext:completion:] + 708
16 FrontBoardServices -[FBSSerialQueue _performNext] + 184
17 FrontBoardServices -[FBSSerialQueue _performNextFromRunLoopSource] + 56
18 CoreFoundation _CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 24
19 CoreFoundation ___CFRunLoopDoSources0 + 540
20 CoreFoundation ___CFRunLoopRun + 724
21 CoreFoundation CFRunLoopRunSpecific + 384
22 GraphicsServices GSEventRunModal + 180
23 UIKit UIApplicationMain + 204
24 gst-ios main (main.m:13)
25 libdyld.dylib _start + 4

2018-09-30 提问
1 个回答

撰写答案

推广链接