Xcode 6: Build hangs and Interface Builder Cocoa Touch Tool starts allocating all RAM

前端 未结 13 2162
青春惊慌失措
青春惊慌失措 2020-12-24 05:43

I’m having an issue to which I haven’t been able to find a solution just by searching here or on Google.

I’m building a project which is shared by multiple developer

13条回答
  •  天命终不由人
    2020-12-24 06:21

    I too have been having issues with storyboards causing freezes with XCode 6.0.1 on OS X 10.9.5.
    I can't even start Xcode because it tries to re-open the storyboard.

    Here's what I do to recover (until it happens again)

    IMPORTANT: make sure you back up your storyboard file in case you accidentally delete it

    1. Completely close Xcode
    2. From a Terminal (or Finder): MOVE your storyboard file to a safe location
    3. Restart XCode and open your workspace or project
    4. In Xcode: remove the missing storyboard file from the project
    5. From a Terminal (or Finder): COPY your storyboard back to its original location
    6. Import the storyboard to Xcode (Add File or drag-drop from Finder)

    At this point everything "usually" works for me: open the storyboard, build, run... I can keep working with the storyboard until the next time I re-open the project. Then it happens again and I have to repeat the same steps.

提交回复
热议问题