SIGABRT runtime error in xcode 6.1 (Swift)
The only change made to the code from the original was made in ViewControl.swift
override func viewDidLoad() {
newMessage.hidden = true
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
@IBOutlet weak var newMessage: UILabel!
@IBOutlet var newButton: UIButton!
@IBAction func newButtonAction(sender: UIButton) {
newMessage.hidden = false
}
}
but i am getting error SIGABRT
in AppDelegate.swift on
class AppDelegate: UIResponder, UIApplicationDelegate {
Is this Xcode 6.1 a bug or is there something wrong with my code?
+3
source to share
2 answers
Most likely something fishy is going on in your xib / storyboard. Check your connections to make sure all yours IBOutlets
and IBActions
connections are correct and that there are no connections left from old, deleted or changed variables.
It is also difficult to say without additional information. Check out this and this for more help.
+2
source to share