Swift: Thread 1 signal SIGABRT

34,070

Solution 1

Seems like there was a bug with iOS 7.1 as target.

Running tests on devices with iOS 7.1 installed now works. (17028705)

Try it again with the beta 2 update

Solution 2

This error is caused when you have 2 or more of the same IBOutlets or IBActions in your main.storyboard inspector (right arrow key at the very end of your options). Find out where there is double, and delete the one you don't need! It should work perfectly fine after that.

Solution 3

I found this issue happened when I linked @IBOutlet/@IBAction and the linkage broke (renaming for instance). In the main.storyboard inspector, right click (control click) on the elements and delete any bad linkages. Should fix the error if that's the issue.

(Xcode 7)

Solution 4

fix my problem:

  1. Go to deployment info and in "Main interface" select your correct storyboard...
  2. Rerun app.
Share:
34,070
perte
Author by

perte

Product Designer · Client's BFF.

Updated on July 31, 2022

Comments

  • perte
    perte almost 2 years

    After upgrading Xcode from 5 to 6 beta, almost every project gives me an unexpected error after running the application. There are some other posts with this title but the error is different.

    In AppDelegate.swift, sometimes the simulator goes completely black, without the error, sometimes it gives me the error on this line:

    class AppDelegate: UIResponder, UIApplicationDelegate { 
    

    In Xcode 5 I didn't had this error before, with Deployment Target set to 7.0 or 7.1.

    Thanks in advance.