Xcode 6.4 Error even though code nothing

I'm use xcode 6.4(Swift) n i'm a beginner . I just want to create a simple calculator , after created Button , TextField , i run and it's ok . After i coded a little , i run but it was an error (Signal : SIGABRT) . i deleted all the lines i created and ran again , still that error eventhough it just like after i created Button n TextField .
Can anyone explain or fix it please 😢

SIGABRT means that your app knows something is really wrong—bad enough that the app should just crash. The technical term for it is an exception. Can you provide more information about the problem? Do you know how to find the log in the debugger area?

Looking in Xcode’s console pane in your second screen shot, I see an indication that your app is dying because of an unhandled language exception. There’s two ways to further investigation this:

  • Expand the console pane to see the exception message. That will often give you enough information to work out what’s going wrong.

  • If you want to see where the exception was thrown, use the Breakpoint Navigation to add a an exception breakpoint (click the ‘add’ button at the bottom left of the navigator).

Share and Enjoy

Quinn "The Eskimo!"
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

I have the same problem:


2015-08-25 03:03:50.162 MealApp[7855:6029867] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<MealApp.ViewController 0x7fc91bf39a60> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key someTextField.'

*** First throw call stack:

(

0 CoreFoundation 0x0000000107344c65 __exceptionPreprocess + 165

1 libobjc.A.dylib 0x0000000108eafbb7 objc_exception_throw + 45

2 CoreFoundation 0x00000001073448a9 -[NSException raise] + 9

3 Foundation 0x0000000107762b53 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 259

4 UIKit 0x00000001080ca606 -[UIRuntimeOutletCollectionConnection performConnect] + 537

5 CoreFoundation 0x000000010728cd50 -[NSArray makeObjectsPerformSelector:] + 224

6 UIKit 0x0000000107ebb4eb -[UINib instantiateWithOwner:options:] + 1506

7 UIKit 0x0000000107d136d8 -[UIViewController _loadViewFromNibNamed:bundle:] + 242

8 UIKit 0x0000000107d13cc8 -[UIViewController loadView] + 109

9 UIKit 0x0000000107d13f39 -[UIViewController loadViewIfRequired] + 75

10 UIKit 0x0000000107d143ce -[UIViewController view] + 27

11 UIKit 0x0000000107c2f289 -[UIWindow addRootViewControllerViewIfPossible] + 58

12 UIKit 0x0000000107c2f64f -[UIWindow _setHidden:forced:] + 247

13 UIKit 0x0000000107c3bde1 -[UIWindow makeKeyAndVisible] + 42

14 UIKit 0x0000000107bdf417 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 2732

15 UIKit 0x0000000107be219e -[UIApplication _runWithMainScene:transitionContext:completion:] + 1349

16 UIKit 0x0000000107be1095 -[UIApplication workspaceDidEndTransaction:] + 179

17 FrontBoardServices 0x000000010a9ac5e5 __31-[FBSSerialQueue performAsync:]_block_invoke_2 + 21

18 CoreFoundation 0x000000010727841c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12

19 CoreFoundation 0x000000010726e165 __CFRunLoopDoBlocks + 341

20 CoreFoundation 0x000000010726d923 __CFRunLoopRun + 851

21 CoreFoundation 0x000000010726d366 CFRunLoopRunSpecific + 470

22 UIKit 0x0000000107be0b02 -[UIApplication _run] + 413

23 UIKit 0x0000000107be38c0 UIApplicationMain + 1282

24 MealApp 0x0000000107144d67 main + 135

25 libdyld.dylib 0x00000001095e5145 start + 1

26 ??? 0x0000000000000001 0x0 + 1

)

libc++abi.dylib: terminating with uncaught exception of type NSException

(lldb)

And I'm only following the first tutorial.

Seems to fail once I add in a textField. And I have added the delegation stuff.


Any clue? I'm a newbie.


-----------------------------

OSX Yosemite 10.10.5 on MacBook (Retina, 12-inch, Early 2015)

Your problem is appears to be a fundamentally different one—if you'd repost in another thread I'll be happy to explain exactly what's going on.

Thanks. Added a new post here:

https://forums.developer.apple.com/thread/15496

Xcode 6.4 Error even though code nothing
 
 
Q