Reputation: 13443
(Xcode6 beta3, Swift, iOS8, iPhone)
Just upgraded from Xcode6 to beta3. Code that was working fine is now breaking.
override func viewDidLoad() {
super.viewDidLoad()
self.navigationController.navigationBarHidden = false
self.navigationItem.title = "Principles" // ERROR THROWN HERE
}
Error Reads:
Thread 1: EXC_BAD_ACCESS (code=1, address=0xfffffffc)
Also, it works on the simulator, but not on the device (a 4S that I use for testing)
Upvotes: 2
Views: 363
Reputation: 459
I had the same problem. Do a Clean and then rerun it. For some, making a copy of the whole project seems to solve the bad access bug
Upvotes: 1