Thread 1: signal SIGABRT Xcode 6.1

前端 未结 3 1632
无人及你
无人及你 2020-12-21 21:16

I am running an application and in the AppDelegate class I am getting the error Thread 1: signal SIGABRT on the line stating class AppDelegate: UIResponder, UIApplicat

3条回答
  •  天涯浪人
    2020-12-21 21:40

    There maybe another cause here: you made a Outlet and then you changed its name or add another Outlet using a new name.

    You can check it by this way:

    click on the Label or Button element you put in the Storyboard, look at the right side bar, find "Show the connections inspector" then you can find its connection.

    If you just made some mistakes with the connections, it will show you here.

    For me, I created two connections with one Outlet, that's why I kept getting the error. After I removed one of the wrong conection, it compiled successfully.

提交回复
热议问题