Post not yet marked as solved
How can I setup in lower resolution video in our ARSessions? Thanks in advance.
Post not yet marked as solved
I'm studying iOS crash analysis. Now, I need to import crashlog files into LLDB. As WWDC18 Session 414 said, I now have a copy of myApp, dSYM, ***.crash. Run the following command in a folder that I created:$ lldb(lldb) command script import lldb.macosx.crashlog(lldb) crashlog /xxxx.crashHowever, the stack trace file is not available and there is only a lot of error like:error: unable to locate any executables from the crash logDid I use it wrong? What is the correct stepts?Thanks in advance. For any question please just let me know.
Post not yet marked as solved
How we can move the app to foreground when is on background? Could you guys show an example or documentation. Thanks in advance.
Post not yet marked as solved
Hi Team, Im trying to change the statusBar color using
override var preferredStatusBarStyle: UIStatusBarStyle {
return .lightContent
}
and setNeedsStatusBarAppearanceUpdate() but its not working on iOS 15. What I need to do to change the color using swift? Thanks In advance.
Guillermo
Post not yet marked as solved
How can I change the statuds bar color on ios13 using Objecticve C? Thanks in advance.
I want to learn more about debugging. I saw the video https://developer.apple.com/videos/play/wwdc2018/414/ but I want to understant the others cause of crashes. There is a book or tutorial or something that give me more information? Thanks in advance.
Post not yet marked as solved
Main Thread Checker: UI API called on a background thread: -[UIView setUserInteractionEnabled:]PID: 2266, TID: 20651, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 0Backtrace:4 CellXrakQA 0x000000010b2534f4 -[LoginScreenViewController biometricIDAuthFail:] + 1165 CellXrakQA 0x000000010b438dbc __31-[BiometricIDAuth authenticate]_block_invoke + 3966 LocalAuthentication 0x000000010e0ced66 __50-[LAContext evaluatePolicy:localizedReason:reply:]_block_invoke_2 + 727 LocalAuthentication 0x000000010e0ce349 __42-[LAContext evaluatePolicy:options:reply:]_block_invoke_2 + 5118 LocalAuthentication 0x000000010e0c9cd3 __52-[LAClient evaluatePolicy:options:uiDelegate:reply:]_block_invoke + 2079 libdispatch.dylib 0x0000000110573d7f _dispatch_call_block_and_release + 1210 libdispatch.dylib 0x0000000110574db5 _dispatch_client_callout + 811 libdispatch.dylib 0x00000001105777b9 _dispatch_queue_override_invoke + 102212 libdispatch.dylib 0x0000000110585632 _dispatch_root_queue_drain + 35113 libdispatch.dylib 0x0000000110585fca _dispatch_worker_thread2 + 13014 libsystem_pthread.dylib 0x000000011095d6b3 _pthread_wqthread + 58315 libsystem_pthread.dylib 0x000000011095d3fd start_wqthread + 132019-05-16 09:00:31.973294-0300 CellXakQA[2266:20651] [reports] Main Thread Checker: UI API called on a background thread: -[UIView setUserInteractionEnabled:]PID: 2266, TID: 20651, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 0Backtrace:4 CellXrakQA 0x000000010b2534f4 -[LoginScreenViewController biometricIDAuthFail:] + 1165 CellXrakQA 0x000000010b438dbc __31-[BiometricIDAuth authenticate]_block_invoke + 3966 LocalAuthentication 0x000000010e0ced66 __50-[LAContext evaluatePolicy:localizedReason:reply:]_block_invoke_2 + 727 LocalAuthentication 0x000000010e0ce349 __42-[LAContext evaluatePolicy:options:reply:]_block_invoke_2 + 5118 LocalAuthentication 0x000000010e0c9cd3 __52-[LAClient evaluatePolicy:options:uiDelegate:reply:]_block_invoke + 2079 libdispatch.dylib 0x0000000110573d7f _dispatch_call_block_and_release + 1210 libdispatch.dylib 0x0000000110574db5 _dispatch_client_callout + 811 libdispatch.dylib 0x00000001105777b9 _dispatch_queue_override_invoke + 102212 libdispatch.dylib 0x0000000110585632 _dispatch_root_queue_drain + 35113 libdispatch.dylib 0x0000000110585fca _dispatch_worker_thread2 + 13014 libsystem_pthread.dylib 0x000000011095d6b3 _pthread_wqthread + 58315 libsystem_pthread.dylib 0x000000011095d3fd start_wqthread + 13Thanks in advance for any question just let me know.
Post not yet marked as solved
EXC_BAD_ACCESSretain >Attempted to dereference garbage pointer 0x2.libobjc.A 0x1b84c653c objc_msgSendCoreFoundation 0x1be43007c +[__NSDictionaryI __new::::::]CoreFoundation 0x1d0e26d40 +[NSDictionary dictionaryWithObjects:forKeys:count:]UIKitCore 0x1ea859b88 __37-[UIDictationConnection cancelSpeech]_block_invokelibdispatch 0x1bdf80a34 _dispatch_call_block_and_releaselibdispatch 0x1bdf817d0 _dispatch_client_calloutlibdispatch 0x2118acaf8 _dispatch_root_queue_drainlibdispatch 0x1e8ee5244 _dispatch_worker_thread2libsystem_pthread 0x1b39e11b0 _pthread_wqthreadThanks in advance for any question just let me know.This is a release version using XCode 10.2.1 and level optimization by default instead none.
Post not yet marked as solved
CTI-IOS-M4EXC_BAD_ACCESSenumerateIndexesUsingBlock: > markedConstraint > pointSize >Attempted to dereference garbage pointer 0x42b37ddb0.libobjc.A 0x1b37df530 objc_msgSend FoundationFoundation 0x1ac0f2390 -[NSISEngine outgoingRowHeadForRemovingConstraintWithMarker:outgoingRowHead:]Foundation 0x1ac0b6238 -[NSISEngine removeConstraintWithMarker:]UIKitCore 0x1ac0b5ec0 -[NSLayoutConstraint _removeFromEngine:]UIKitCore 0x1d8032658 -[UIView(UIConstraintBasedLayout) _layoutEngine_willRemoveLayoutConstraint:]UIKitCore 0x1d80332a8 -[UIView(UIConstraintBasedLayout) nsli_removeConstraint:]UIKitCore 0x1d80331c0 -[UIView(UIConstraintBasedLayout) _removeConstraint:]Foundation 0x1d80334b8 __53-[UIView removeConstraints:]_block_invokeUIKitCore 0x1ac0a6b30 -[NSISEngine withBehaviors:performModifications:]UIKitCore 0x1d8033380 -[UIView(UIConstraintBasedLayout) removeConstraints:]UIKitCore 0x1d80446f0 -[UIView(AdditionalLayoutSupport) _snipDangliesWithForce:repairIfPossibleForViewThatMoved:newSuperview:oldSuperview:]UIKitCore 0x1d8044388 _UIViewRemoveConstraintsMadeDanglyByChangingSuperviewFoundation 0x1d80e2a4c __45-[UIView _postMovedFromSuperview:]_block_invokeUIKitCore 0x1ac0a6b30 -[NSISEngine withBehaviors:performModifications:]UIKitCore 0x1d80e2988 -[UIView(Hierarchy) _postMovedFromSuperview:]UIKitCore 0x1b9bcca8c __UIViewWasRemovedFromSuperviewUIKitCore 0x1d80e0574 -[UIView(Hierarchy) removeFromSuperview]UIKitCore 0x1c558e0cc -[_UIButtonBar _layoutBar]UIKitCore 0x1d746c508 -[_UIButtonBarStackView updateConstraints]UIKitCore 0x1d80403f8 -[UIView(AdditionalLayoutSupport) _sendUpdateConstraintsIfNecessaryForSecondPass:]UIKitCore 0x1d80408a0 -[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededCollectingViews:forSecondPass:]Foundation 0x1d804077c -[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededCollectingViews:forSecondPass:]UIKitCore 0x1ac0a6b30 -[NSISEngine withBehaviors:performModifications:]UIKitCore 0x1d8040fb8 __100-[UIView _updateConstraintsIfNeededWithViewForVariableChangeNotifications:]_block_invokeUIKitCore 0x1d803fac8 -[UIView(AdditionalLayoutSupport) _withUnsatisfiableConstraintsLoggingSuspendedIfEngineDelegateExists:]UIKitCore 0x1d8040bd8 -[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededWithViewForVariableChangeNotifications:]UIKitCore 0x1d8041a5c -[UIView(AdditionalLayoutSupport) _updateConstraintsAtEngineLevelIfNeededWithViewForVariableChangeNotifications:]UIKitCore 0x1d80e4874 -[UIView(Hierarchy) _updateConstraintsAsNecessaryAndApplyLayoutFromEngine]QuartzCore 0x1d80f7e50 -[UIView(CALayerDelegate) layoutSublayersOfLayer:]QuartzCore 0x1afbba1ec -[CALayer layoutSublayers]QuartzCore 0x1afbbf194 CA::Layer::layout_if_neededQuartzCore 0x1afb220a4 CA::Context::commit_transactionQuartzCore 0x1afb50104 CA::Transaction::commitlibsystem_pthread 0x19766d284 CA::Transaction::release_threadlibsystem_pthread 0x1ab34f4b0 _pthread_tsd_cleanuplibsystem_pthread 0x1bd390900 _pthread_exitlibsystem_pthread 0x223a01504 _pthread_wqthread_exit0x223a01148 _pthread_wqthreadThanks in advance for any question just let me know.
EXC_BAD_ACCESSapplicationFrameworkContext > currentThread > DRHT > tConstraint > threadDictionary >Attempted to dereference garbage pointer 0xa3528eed0.
0x1cc88f530
objc_msgSendUIFoundation0x1bcd75adc+[NSStringDrawingTextStorageSettings threadSpecificStringDrawingTextStorageSettings:]UIFoundation0x19d3f4fb4+[NSString(NSStringDrawing) typesetterBehavior]UIFoundation0x1bcddd398__NSStringDrawingEngineUIFoundation0x22adb2428-[NSString(NSExtendedStringDrawing) drawWithRect:options:attributes:context:]UIKitCore0x24d146188-[UILabel _drawTextInRect:baselineCalculationOnly:]UIKitCore0x24d144a58-[UILabel drawTextInRect:]UIKitCore0x1bf2bd4e0-[UIView(CALayerDelegate) drawLayer:inContext:]QuartzCore0x197294d90-[CALayer drawInContext:]QuartzCore0x197179970CABackingStoreUpdate_QuartzCore0x1859bc89c___ZN2CA5Layer8display_Ev_block_invokeQuartzCore0x1859b5654-[CALayer _display]QuartzCore0x18591e15cCA::Context::commit_transactionQuartzCore0x1a0bf0104CA::Transaction::commitQuartzCore0x1c03ed284CA::Transaction::release_threadlibsystem_pthread0x1ba02f4b0_pthread_tsd_cleanuplibsystem_pthread0x1ba02c900_pthread_exitlibsystem_pthread0x19c3ed504_pthread_wqthread_exitlibsystem_pthread0x19c3ed148_pthread_wqthreadThanks in advance, for any question please let me know.
libsystem_kernel0x21373e0dc
__pthread_killlibsystem_pthread0x18fb7b090pthread_kill$VARIANT$mplibsystem_c0x213697ea4abortQuartzCore0x1b3b33888CA::Render::Encoder::grow(unsigned long)QuartzCore0x1b3b34954CA::Render::Encoder::encode_objectQuartzCore0x1b3a1c9e8CA::Render::Layer::encodeQuartzCore0x1b3b384dcCA::Render::encode_set_objectQuartzCore0x1b3b31fb4CA::Layer::commit_if_neededQuartzCore0x1b3a88f40CA::Context::commit_rootQuartzCore0x1b3a89b78CA::Context::commit_transactionQuartzCore0x1d6c53104CA::Transaction::commitCompany0x104919268+[MessageBoxManager setProgress1:progress:]company/util/MessageBoxManager.m:311Company0x104936b08-[FormEngineScrollViewDelegate makeSureVisibleWidgetsAreLoaded:messageBoxInfoId:screenWasAutoPushed:pausedActivityWidgetFormElement:]Company/util/FormEngine.m:576Company0x1049366bcformEngineSetupCompany/util/FormEngine.m:508Company0x10486fa44-[ActivityScreenViewController delaySetupForm]Company2/app/ActivityScreenViewController.m:982libdispatch0x20b72d7d0_dispatch_client_calloutlibdispatch0x20b6d2014_dispatch_continuation_pop$VARIANT$mplibdispatch0x200dddfa0_dispatch_source_invoke$VARIANT$mplibdispatch0x1bc766ee4_dispatch_main_queue_callback_4CF$VARIANT$mpCoreFoundation0x1fec60ebc__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__CoreFoundation0x1fec5bdf4__CFRunLoopRunCoreFoundation0x1af61f350CFRunLoopRunSpecificGraphicsServices0x215d2c798GSEventRunModalUIKitCore0x240117b64UIApplicationMainCompany0x104063b20mainCompany/main.m:17libdyld0x2135f28dcstart+ (void)setProgress1:(id)messageBoxInfoId progress:(float)progress{ MessageBoxInfo *messageBoxInfo = (MessageBoxInfo *)messageBoxInfoId; if ([NSThread isMainThread]) { [instance setProgress1:messageBoxInfo progress:progress]; [CATransaction flush]; // This is the line 311 } else { dispatch_async(dispatch_get_main_queue(), ^{ @autoreleasepool { @synchronized (instance) { [instance setProgress1:messageBoxInfo progress:progress]; } } }); }}
Foundation0x1ae6bead0-[NSISEngine tryToAddConstraintWithMarker:expression:mutuallyExclusiveConstraints:]Foundation0x19d1de770-[NSLayoutConstraint _addLoweredExpression:toEngine:lastLoweredConstantWasRounded:mutuallyExclusiveConstraints:]Foundation0x19d1de044-[NSLayoutConstraint _addToEngine:mutuallyExclusiveConstraints:]UIKitCore0x1b893632c-[UIView(UIConstraintBasedLayout) _layoutEngine_didAddLayoutConstraint:roundingAdjustment:mutuallyExclusiveConstraints:]UIKitCore0x25d7f278c-[UIView(UIConstraintBasedLayout) _tryToAddConstraintWithoutUpdatingConstraintsArray:roundingAdjustment:mutuallyExclusiveConstraints:]UIKitCore0x25d7f2e84-[UIView(UIConstraintBasedLayout) nsli_addConstraint:]UIKitCore0x1da4dc97c-[UILayoutGuide nsli_addConstraint:]UIKitCore0x1d994c8b8-[_UINavigationBarContentViewLayout initWithContentView:]UIKitCore0x1d9945674-[_UINavigationBarContentView _newLayout]UIKitCore0x1d994a034-[_UINavigationBarContentView recordFromStateForTransition:]UIKitCore0x1d9955168-[_UINavigationBarTransitionContext recordUpdates:]UIKitCore0x2484b9968-[_UINavigationBarVisualProviderModernIOS _performAnimationWithTransitionCompletion:transition:]UIKitCore0x2484710b0-[UINavigationBar _pushNavigationItem:transitionAssistant:]UIKitCore0x248470844-[UINavigationBar _pushNavigationItemUsingCurrentTransition:]UIKitCore0x2484709cc-[UINavigationBar pushNavigationItem:animated:]UIKitCore0x24846b324-[UINavigationBar _performUpdatesIgnoringLock:]UIKitCore0x248470ac8-[UINavigationBar _pushNavigationItem:transition:]UIKitCore0x24860f354__71-[UINavigationController pushViewController:transition:forceImmediate:]_block_invokeUIKitCore0x24860f4d0__71-[UINavigationController pushViewController:transition:forceImmediate:]_block_invoke.1809UIKitCore0x24860c13c-[UINavigationController _startDeferredTransitionIfNeeded:]UIKitCore0x1d856120c-[UINavigationController __viewWillLayoutSubviews]UIKitCore0x1d854441c-[UILayoutContainerView layoutSubviews]UIKitCore0x1c1aafe50-[UIView(CALayerDelegate) layoutSublayersOfLayer:]QuartzCore0x1b218e1ec-[CALayer layoutSublayers]QuartzCore0x1b2193194CA::Layer::layout_if_neededQuartzCore0x1b20f60a4CA::Context::commit_transactionQuartzCore0x1b2124104CA::Transaction::commitQuartzCore0x1b0a45284CA::Transaction::release_threadlibsystem_pthread0x1bf0374b0_pthread_tsd_cleanuplibsystem_pthread0x1bf034900_pthread_exitlibsystem_pthread0x1ac241504_pthread_wqthread_exitlibsystem_pthread0x1ac241148_pthread_wqthread