I want to dynamically set the bundleidentifier of the app,So I did the following
didFinishLaunchingWithOptions
*** 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 )
1.4m articles
1.4m replys
5 comments
56.8k users