xcodesvncornerstone

Using Cornerstone, how do I ignore Xcode's UserInterfaceState.xcuserstate file?


I'm using Cornerstone 2.7.12 and Xcode 5.1. Mostly I use Xcode's Source Control menu items but in this particular working copy I'm having trouble with UserInterfaceState.xcuserstate. I can commit just fine. Then, for example, I try to switch branches but Xcode complains that I have uncommitted changes. When I commit, the only thing that's changed is UserInterfaceState.xcuserstate. So I commit. Then I try to switch again but again Xcode complains about uncommitted changes. Again it's UserInterfaceState.xcuserstate.

So I thought I'd do the switch with Cornerstone (right-click on the Working Copy -> Switch...). In Cornerstone I've added *.xcuserstate to the Global Ignores (Cornerstone -> Preferences -> Subversion -> turn off Use default global ignores -> add "*.xcuserstate") but it doesn't ignore it. I've quit and restarted.

Using Cornerstone, how do I ignore Xcode's UserInterfaceState.xcuserstate file?


Solution

  • Here's what I did:

    That fixed it. At that point Cornerstone showed that it was ignoring the file. And Xcode behaved properly too.