1. 程式人生 > >Mac 解決svn+Cornerstone中 UserInterfaceState.xcuserstate的版本控制

Mac 解決svn+Cornerstone中 UserInterfaceState.xcuserstate的版本控制

Here’s what I did:

in Terminal cd to the project.workspace directory
svn -v status revealed this file was under version control (M):

M 655 654 user xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstate

svn delete —keep-local —force xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstate

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

原網址:http://stackoverflow.com/questions/22645281/using-cornerstone-how-do-i-ignore-xcodes-userinterfacestate-xcuserstate-file