Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
635 views
in Technique[技术] by (71.8m points)

ios - Failed to load bounding path bitmap data from the asset manager for asset name: BoundingPathBitmap,what's wrong happed?

I want to dynamically set the bundleidentifier of the app,So I did the following

  1. when enter didFinishLaunchingWithOptions method,I dynamically change the value of bundleidentifier through the runtime method The runtime switches the implementation of the method The value of bundle ID is changed here
  2. After that, I reset the bundleidentifier to its original value enter image description here
  3. And then this error happens when I click on the bottom tabbar,Does anyone know why this is caused? How can I solve this problem? Thank you very much enter image description here 4.Stack information
*** First throw call stack:
(
    0   CoreFoundation                      0x00007fff20420af6 __exceptionPreprocess + 242
    1   libobjc.A.dylib                     0x00007fff20177e78 objc_exception_throw + 48
    2   CoreFoundation                      0x00007fff2042091f +[NSException raise:format:] + 0
    3   Foundation                          0x00007fff2077056a -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 191
    4   UIKitCore                           0x00007fff242684d4 -[_UIScreenComplexBoundingPathUtilities _loadBitmapForScreen:type:] + 1170
    5   UIKitCore                           0x00007fff24266c4c -[_UIScreenComplexBoundingPathUtilities initWithScreen:] + 126
    6   UIKitCore                           0x00007fff24269b99 +[_UIScreenBoundingPathUtilities boundingPathUtilitiesForScreen:] + 95
    7   UIKitCore                           0x00007fff242723a4 -[UIScreen _boundingPathUtilities] + 44
    8   UIKitCore                           0x00007fff246e181f -[UIWindow _boundingPath] + 206
    9   UIKitCore                           0x00007fff24bf72b4 -[UIView(UIViewBoundingPathSupportInternal) _effectiveBoundingPathAndBoundingPathView:] + 253
    10  UIKitCore                           0x00007fff24bf6a44 -[UIView(UIViewBoundingPathSupport) _rectTuckedAgainstBoundingPathEdge:withSize:cornerRadii:minimumPadding:] + 286
    11  UIKitCore                           0x00007fff24b7d7f3 -[UIScrollView _baseInsetsForAccessoryOnEdge:hasCustomClientInsets:accessorySize:additionalInsetFromEdge:] + 2117
    12  UIKitCore                           0x00007fff24b7dd03 -[UIScrollView _computeBaseInsetsForVerticalScrollIndicatorWithClientInsets:] + 163
    13  UIKitCore                           0x00007fff24b7ddf0 -[UIScrollView _effectiveVerticalScrollIndicatorInsets] + 221
    14  UIKitCore                           0x00007fff24b71c69 -[UIScrollView _layoutVerticalScrollIndicatorWithBounds:effectiveInset:contentOffset:fraction:additionalInset:cornerAdjust:showing:recalcSize:] + 380
    15  UIKitCore                           0x00007fff24b71864 -[UIScrollView _adjustScrollerIndicators:alwaysShowingThem:] + 1520
    16  UIKitCore                           0x00007fff24b5e4f4 -[UIScrollView _updateForChangedScrollIndicatorRelatedInsets] + 166
    17  UIKitCore                           0x00007fff24b7e573 -[UIScrollView setSafeAreaInsets:] + 686
    18  UIKitCore                           0x00007fff24bc4752 -[UIView _updateSafeAreaInsets] + 111
    19  UIKitCore                           0x00007fff24bd6efd -[UIView(Geometry) _applyISEngineLayoutValuesToBoundsOnly:] + 1143
    20  UIKitCore                           0x00007fff24bd6fc2 -[UIView(Geometry) _resizeWithOldSuperviewSize:] + 145
    21  UIKitCore                           0x00007fff24ae6dd4 -[UIScrollView(_UIOldConstraintBasedLayoutSupport) _resizeWithOldSuperviewSize:] + 46
    22  UIKitCore                           0x00007fff24bd6300 __46-[UIView(Geometry) resizeSubviewsWithOldSize:]_block_invoke + 121
    23  CoreFoundation                      0x00007fff2039239f __NSARRAY_IS_CALLING_OUT_TO_A_BLOCK__ + 7
    24  CoreFoundation                      0x00007fff2031eb63 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 527
    25  UIKitCore                           0x00007fff24bd6274 -[UIView(Geometry) resizeSubviewsWithOldSize:] + 197
    26  UIKitCore                           0x00007fff24af5c32 -[UIView(AdditionalLayoutSupport) _is_layout] + 163
    27  UIKitCore                           0x00007fff24bde941 -[UIView _updateConstraintsAsNecessaryAndApplyLayoutFromEngine] + 1015
    28  UIKitCore                           0x00007fff24bf25b8 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2924
    29  QuartzCore                          0x00007fff27aa2c33 -[CALayer layoutSublayers] + 258
    30  QuartzCore                          0x00007fff27aa91a5 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 575
    31  QuartzCore                          0x00007fff27ab4f47 _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 65
    32  QuartzCore                          0x00007fff279f4408 _ZN2CA7Context18commit_transactionEPNS_11TransactionEdPd + 496
    33  QuartzCore                          0x00007fff27a2b1ef _ZN2CA11Transaction6commitEv + 783
    34  UIKitCore                           0x00007fff2468f9e3 _UIApplicationFlushRunLoopCATransactionIfTooLate + 106
    35  UIKitCore                           0x00007fff247403ca __processEventQueue + 14865
    36  UIKitCore                           0x00007fff24736973 __eventFetcherSourceCallback + 104
    37  CoreFoundation                      0x00007fff2038f38a __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    38  CoreFoundation                      0x00007fff2038f282 __CFRunLoopDoSource0 + 180
    39  CoreFoundation                      0x00007fff2038e764 __CFRunLoopDoSources0 + 248
    40  CoreFoundation                      0x00007fff20388f2f __CFRunLoopRun + 878
    41  CoreFoundation                      0x00007fff203886d6 CFRunLoopRunSpecific + 567
    42  GraphicsServices                    0x00007fff2bededb3 GSEventRunModal + 139
    43  UIKitCore                           0x00007fff24690e0b -[UIApplication _run] + 912
    44  UIKitCore                           0x00007fff24695cbc UIApplicationMain + 101
    45  libswiftUIKit.dylib                 0x00007fff54d1e5f2 $s5UIKit17UIApplicationMainys5Int32VAD_SpySpys4Int8VGGSgSSSgAJtF + 98
    46  Wallpaper                           0x0000000105d8f80a $sSo21UIApplicationDelegateP5UIKitE4mainyyFZ + 122
    47  Wallpaper                           0x0000000105d8f77e $s9Wallpaper11AppDelegateC5$mainyyFZ + 46
    48  Wallpaper                           0x0000000105d91d09 main + 41
    49  libdyld.dylib                       0x00007fff202593e9 start + 1
)

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...