When I navigate to one of my xib files, Xcode marks the file as touched. Undo and revert have no effect. Saving seems to do no harm, but the glitch causes me frequent addit
I personally feel that knowing that it's a known bug doesn't exactly fix the issue. Here's what I figured out so far and how to keep them from coming up.
NOTE: This is for a storyboard with AutoLayout enabled. I haven't yet figured it out yet for manual storyboards.
Below is an example of a button.
If you take a look, you'll see that the button has an element called
This defines the size and position of the UI item. If you look below, you'll also see an element called
that describes the change in position based on the size class. In order to fix the position for this, we have to use the following steps:
and
.
element is gone.In my example, I had to update x="97"
to x="597"
.
I'm still working on elements that don't have a
. I'll update this answer as soon as I figure it out.