Xcode 8 hangs / unresponsive when opening storyboard

前端 未结 16 1434
南方客
南方客 2021-01-31 17:48

I\'ve recently upgraded to Xcode 8 and updated my project to Swift 3. All worked fine for a little while. Storyboard loading has always been slow (even when still running Xcode

16条回答
  •  终归单人心
    2021-01-31 18:19

    (Xcode 9.2) I had this happen right after I added a constraint to a stackview. No matter what I did, it didn't seem to fix it. I knew it had to be an auto-layout issue it couldn't resolve.

    I ended up opening the Main.storyboard file in text editor and deleting the scene that was causing the issue. It will start with

        
        
    

    and end with . Just highlight the entire chunk, delete, save, and try again.

    Much better than starting over from scratch!

提交回复
热议问题