Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

<classes> element flipping in and out of existence in storyboard file

This isn't a big problem but it is annoying. Every time I edit my storyboard in Interface Builder and I want to check it into the revision control system there's a element that is either generated or removed: if it existed it is removed and vice versa.

It adds needless noise to my checkins.

Does someone have an idea of what's going on and how to fix it?

like image 680
aerique Avatar asked Nov 15 '11 10:11

aerique


1 Answers

Switch to Xcode 5 as soon as this becomes feasible. There they change the XIB format to be mergeable XML.

While you are still on Xcode 4.x you need to ignore changes to XIB files. Don't always commit all, but revert those changes that you don't want as "noise"

like image 53
Cocoanetics Avatar answered Oct 21 '22 23:10

Cocoanetics