Xcode 8 hangs / unresponsive when opening storyboard

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

    In my experience, for an old project, opening with XCode8, it urgently wants to ask you some question about default device to view storyboard with. This question is so critical that until you answer it, you are staring at an invisible dialog window until XCode becomes unresponsive.

    A couple solutions worked for me:

    1. If you get a 1.5 second window of responsiveness when starting XCode - immediately switch to a non-storyboard file. If working with a split pane editor with the storyboard in auxilary panel, toggle it off.
    2. Create another storyboard, open it, XCode will ask you the question about default device.
    3. Answer the question, save the project state and hope to open the storyboard

    Deleting these capabilities allowed me to re-open the storyboard

        
        
        
    
    

提交回复
热议问题