Xcode 8 hangs / unresponsive when opening storyboard

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

    I had a similar problem: Interface Builder was slow to the point of being almost completely unresponsive.

    I found that clearing my xcuserdata directory restored IB to normal speed.

    Presumably some bad state had crept in that was causing the slowdown.

    rm -rf Project.xcodeproj/xcuserdata/
    rm -rf Project.xcworkspace/xcuserdata/
    

提交回复
热议问题