0 Replies
      Latest reply on Apr 12, 2019 3:54 AM by lious
      lious Level 1 Level 1 (0 points)

        The crash happen on the viewcontroller contain UIScrollView When open it, and only happens with the iPhone X and above

        We develop app UI use storyboard

         

        Here the crash callStack:

         

        #0 Thread

        NSInternalInconsistencyException

        Failed to load bounding path bitmap data from the asset manager for asset name: BoundingPathBitmap-1125x2436-375x812-3.00x

         

        0 CoreFoundation___exceptionPreprocess + 228
        1 libobjc.A.dylibobjc_exception_throw + 56
        2 CoreFoundation+[_CFXNotificationTokenRegistration keyCallbacks]
        3 Foundation-[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:]+ 112
        4 UIKitCore-[_UIScreenBezierBoundingPathUtilities _loadBitmapForScreen:type:] + 1124
        5 UIKitCore-[_UIScreenBezierBoundingPathUtilities initWithScreen:] + 144
        6 UIKitCore+[_UIScreenBoundingPathUtilities boundingPathUtilitiesForScreen:] + 108
        7 UIKitCore-[UIScreen _boundingPathUtilities] + 56
        8 UIKitCore-[UIWindow _boundingPath] + 168
        9 UIKitCore-[UIView(UIViewBoundingPathSupportInternal) _effectiveBoundingPathAndBoundingPathView:] + 256
        10 UIKitCore-[UIView(UIViewBoundingPathSupport) _inscribedRectInBoundingPathByInsettingRect:onEdges:withOptions:] + 88
        11 UIKitCore-[UIScrollView(UIScrollViewInternal) _baseInsetsForTrailingEdgeAccessoryWithBoundingPathEdgesToUse:safeAreaInsets:bounds:scale:accessoryWidth:additionalInsetFromEdge:] + 180
        12 UIKitCore-[UIScrollView(UIScrollViewInternal) _baseInsetsForAccessoryOnEdge:hasCustomClientInsets:accessorySize:additionalInsetFromEdge:] + 1388
        13 UIKitCore-[UIScrollView(UIScrollViewInternal) _effectiveVerticalScrollIndicatorInsets] +152
        14 UIKitCore-[UIScrollView _layoutVerticalScrollIndicatorWithBounds:effectiveInset:contentOffset:fraction:additionalInset:cornerAdjust:showing:recalcSize:] + 252
        15 UIKitCore-[UIScrollView _adjustScrollerIndicators:alwaysShowingThem:] + 1040
        16 UIKitCore-[UIScrollView _updateForChangedScrollIndicatorRelatedInsets] + 132
        17 UIKitCore__UIScrollViewAdjustForOverlayInsetsChangeIfNecessary + 512
        18 UIKitCore-[UIScrollView(UIScrollViewInternal) setSafeAreaInsets:] + 312
        19 UIKitCore-[UIView(Geometry) _applyISEngineLayoutValuesToBoundsOnly:] + 1288
        20 UIKitCore-[UIView(Geometry) _resizeWithOldSuperviewSize:] + 124
        21 UIKitCore-[UIScrollView(_UIOldConstraintBasedLayoutSupport) _resizeWithOldSuperviewSize:] + 52
        22 CoreFoundation-[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 464
        23 UIKitCore-[UIView(Geometry) resizeSubviewsWithOldSize:] + 156
        24 UIKitCore-[UIView(AdditionalLayoutSupport) _is_layout] + 152
        25 UIKitCore-[UIView(Hierarchy) _updateConstraintsAsNecessaryAndApplyLayoutFromEngine] + 988
        26 UIKitCore-[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1380
        27 QuartzCore0x00000001ca79e000 + 1309564
        28 QuartzCore0x00000001ca79e000 + 1329972
        29 QuartzCore0x00000001ca79e000 + 669080
        30 QuartzCore0x00000001ca79e000 + 859848
        31 QuartzCore0x00000001ca79e000 + 863536
        32 CoreFoundation___CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
        33 CoreFoundation___CFRunLoopDoObservers + 412
        34 CoreFoundation___CFRunLoopRun + 1264
        35 CoreFoundationCFRunLoopRunSpecific + 436
        36 GraphicsServicesGSEventRunModal + 100
        37 UIKitCoreUIApplicationMain + 212
        38 livemain (main.mm:23)
        39 libdyld.dylib0x00000001c5d2a000 + 2996

         

        hope someone could give me some advice

         

        https://stackoverflow.com/questions/55627370/my-app-crash-in-uikit-only-happen-on-iphone-x-and-above-exception-name-nsintern