Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask question.(5)

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

ITtutoria

ITtutoria Logo ITtutoria Logo

ITtutoria Navigation

  • Python
  • Java
  • Reactjs
  • JavaScript
  • R
  • PySpark
  • MYSQL
  • Pandas
  • QA
  • C++
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Python
  • Science
  • Java
  • JavaScript
  • Reactjs
  • Nodejs
  • Tools
  • QA
Home/ Questions/Can I fix the error “libc++abi.dylib: terminating with uncaught exception of type nsexception (lldb)” or not?
Next
Answered
Elia Byrne
  • 24
Elia Byrne
Asked: May 12, 20222022-05-12T08:18:28+00:00 2022-05-12T08:18:28+00:00In: Programs

Can I fix the error “libc++abi.dylib: terminating with uncaught exception of type nsexception (lldb)” or not?

  • 24

. Advertisement .

..3..

. Advertisement .

..4..

I get an error

2014-10-18 12:07:34.400 soundtest[17081:818922] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<soundtest.ViewControllerTwo 0x7f92f1f20090> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key sfdfa.'
 *** First throw call stack:
 (
  0 CoreFoundation 0x00000001067813f5 __exceptionPreprocess + 165
  1 libobjc.A.dylib 0x00000001082afbb7 objc_exception_throw + 45
  2 CoreFoundation 0x0000000106781039 -[NSException raise] + 9
  3 Foundation 0x0000000106b984d3 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 259
  4 CoreFoundation 0x00000001066cb400 -[NSArray makeObjectsPerformSelector:] + 224
  5 UIKit 0x00000001072ce97d -[UINib instantiateWithOwner:options:] + 1506
  6 UIKit 0x000000010712f698 -[UIViewController _loadViewFromNibNamed:bundle:] + 242
  7 UIKit 0x000000010712fc88 -[UIViewController loadView] + 109
  8 UIKit 0x000000010712fef9 -[UIViewController loadViewIfRequired] + 75
  9 UIKit 0x000000010713038e -[UIViewController view] + 27
  10 UIKit 0x00000001076cd83f -[_UIFullscreenPresentationController _setPresentedViewController:] + 65
  11 UIKit 0x000000010710bc49 -[UIPresentationController initWithPresentedViewController:presentingViewController:] + 105
  12 UIKit 0x000000010713c121 -[UIViewController _presentViewController:withAnimationController:completion:] + 1746
  13 UIKit 0x000000010713e461 __62-[UIViewController presentViewController:animated:completion:]_block_invoke + 132
  14 UIKit 0x000000010713e385 -[UIViewController presentViewController:animated:completion:] + 229
  15 UIKit 0x00000001073bb9d6 _UIGestureRecognizerSendActions + 262
  16 UIKit 0x00000001073ba679 -[UIGestureRecognizer _updateGestureWithEvent:buttonEvent:] + 532
  17 UIKit 0x00000001073bf296 ___UIGestureRecognizerUpdate_block_invoke662 + 51
  18 UIKit 0x00000001073bf192 _UIGestureRecognizerRemoveObjectsFromArrayAndApplyBlocks + 254
  19 UIKit 0x00000001073b520d _UIGestureRecognizerUpdate + 2796
  20 UIKit 0x00000001070520a6 -[UIWindow _sendGesturesForEvent:] + 1041
  21 UIKit 0x0000000107052cd3 -[UIWindow sendEvent:] + 667
  22 UIKit 0x000000010701fae1 -[UIApplication sendEvent:] + 246
  23 UIKit 0x000000010702cbad _UIApplicationHandleEventFromQueueEvent + 17370
  24 UIKit 0x0000000107008233 _UIApplicationHandleEventQueue + 1961
  25 CoreFoundation 0x00000001066b6ad1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
  26 CoreFoundation 0x00000001066ac99d __CFRunLoopDoSources0 + 269
  27 CoreFoundation 0x00000001066abfd4 __CFRunLoopRun + 868
  28 CoreFoundation 0x00000001066aba06 CFRunLoopRunSpecific + 470
  29 GraphicsServices 0x000000010a1699f0 GSEventRunModal + 161
  30 UIKit 0x000000010700b550 UIApplicationMain + 1282
  31 soundtest 0x000000010624503e top_level_code + 78
  32 soundtest 0x000000010624507a main + 42
  33 libdyld.dylib 0x000000010ae4a145 start + 1
  34 ??? 0x0000000000000001 0x0 + 1
 )
 libc++abi.dylib: terminating with uncaught exception of type NSException
 (lldb)

when trying to swipe right, which is a gesture that I added for it to go to the next Page(View Controller Two) it crashes and shows this error report. How to fix the libc++abi.dylib: terminating with uncaught exception of type nsexception (lldb) error? Please give me some advice. 

terminating with uncaught exception
  • 2 2 Answers
  • 278 Views
  • 0 Followers
  • 0
Answer
Share
  • Facebook
  • Report

2 Answers

  • Voted
  • Oldest
  • Recent
  • Random
  1. Best Answer
    lyytutoria Expert
    2022-06-01T08:29:15+00:00Added an answer on June 1, 2022 at 8:29 am

    The cause: You perhaps already set the OS_ACTIVITY_MODE variable .

    Solution: If you noticed you set the OS_ACTIVITY_MODE variable, let’s turn it off by doing these following steps:

    1) From Xcode menu: Product -> Scheme -> Edit Scheme..
    2) Run scheme and look under Arguments
    Remove OS_ACTIVITY_MODE if you see the OS_ACTIVITY_MODE variable selected.

    • 21
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  2. Manon Buisson
    2022-05-25T19:35:49+00:00Added an answer on May 25, 2022 at 7:35 pm

    The cause: This error happened  on Xcode 7, and I didn’t have outlets with yellow flags that I could delete.

    Solution: Replacing this line in the AppDelegate:

    [window addSubview:viewController.view];

    to

    [window setRootViewController:viewController];
    • 12
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

Sidebar

Ask A Question
  • How to Split String by space in C++
  • How To Convert A Pandas DataFrame Column To A List
  • How to Replace Multiple Characters in A String in Python?
  • How To Remove Special Characters From String Python

Explore

  • Home
  • Tutorial

Footer

ITtutoria

ITtutoria

This website is user friendly and will facilitate transferring knowledge. It would be useful for a self-initiated learning process.

@ ITTutoria Co Ltd.

Tutorial

  • Home
  • Python
  • Science
  • Java
  • JavaScript
  • Reactjs
  • Nodejs
  • Tools
  • QA

Legal Stuff

  • About Us
  • Terms of Use
  • Privacy Policy
  • Contact Us

DMCA.com Protection Status

Help

  • Knowledge Base
  • Support

Follow

© 2022 Ittutoria. All Rights Reserved.

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.