Xcode 8 hangs / unresponsive when opening storyboard

前端 未结 16 1427
南方客
南方客 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:27

    I had this problem shortly after upgrading to Xcode 9, any time I changed anything in the storyboard (even moving a view by 1 px), it would hang with the spinning beachball of death for at least 10s.

    I didn't want to clear my entire xcuserdata folder and lose all my breakpoints etc, but just deleting UserInterfaceState.xcuserstate and restarting Xcode worked for me.

提交回复
热议问题