Can't resolve error: Thread 1: signal SIGABRT in swift XCODE

前端 未结 1 1473
旧时难觅i
旧时难觅i 2021-01-29 07:33

I have the common error - \"Thread 1: signal SIGABRT\". Although I can\'t resolve this. I have researched more about this error, I found stuff like: This error only happens when

相关标签:
1条回答
  • 2021-01-29 08:06

    Open up assistant editor (2 circles thing on top right). Open the storyboard on the left screen and the code for the view controller that is causing the error on the right side. Make sure all the dots are bubbled in (dots appear next to where you connect your outlets) on the code side of your screen. If it isn't filled in, drag the bubble to the correct outlet

    Also, if you changed the name of an outlet, you will have something like the image below. Press the x to delete that connection and drag the circle to the right of it and reconnect it.

    0 讨论(0)
提交回复
热议问题