sigabrt error - for absolute beginner

Hello there,

New to the forum and xcode. Playing with it trying to learn swift on xcode. Got an app to do simple calculations add, divide, times, etc but every now and then, while messing around with the code I get something that it's called a "sigabrt error", and whatever I do after I can't get rid of the fault unless I scrap everything and start again. I'm sure a pro like many of you here would rectify it in no time. My question to you is, what's the best way to approach the problem and where could I get some material to help me understand and work around the problem. I do apologize if the question it's a bit entry-level.


The weird thing about it is I will delete all the code that I've written/added since starting a fresh new project with no code inserted and I still get the same problem, it won't let me Build the app and test.


All the best, Paul

A sigabrt (signal abort) means the application terminates on a fault. Usually, it is when you try to use a nil pointer, unwrap a nil optional…

May be you have not connected an IBOutlet between Interface builder and your code and try to use a var (the outlet) that is not defined.


Normally, when the application crashes, it tells you in the code where you are. That will let you know where the error is.


Can you show this part of code ?

sigabrt error - for absolute beginner
 
 
Q