slashlos
slashlos

Reputation: 933

xcode 8.1 xib editing hang, text editor workaround?

So, since updating, the gui randomly hangs editing a xib file. The scenario goes like this:

enter image description here

  1. click an object - i.e, array controller
  2. expand a parameter, Filter Predicate here
  3. Select target object in pull down
  4. try to enter model key path - HANG

In different xib files, the hang comes when trying to enter the model key path textfield. I've also seen errors citing bogus fields like 'Hidden3' for some attribute bindings - only workaround was to remove them.

Has anyone ventured to editing the xml directly, but I guess I can do that in code :-(

Upvotes: 1

Views: 207

Answers (1)

Daniel
Daniel

Reputation: 583

Well, I know this is an old question, but I found an answer. My situation was similar to the one described above: Xcode hanging whenever I edited the key path of any binding in Xcode 8.1. Nothing described here or elsewhere worked.

However, what did work was to edit the storyboard outside of the actual Xcode project: open the offending StoryBoard by itself, do not access it through the project.

This appears consistent with a Sample/Spindump through the Activity Monitor when Xcode hung that showed functions that appeared related to auto-completion/edition. Unchecking auto-completion did not work though (in Prefs).

Upvotes: 2

Related Questions