xcdatamodel is not entirely under source control in subversion xcode4

吃可爱长大的小学妹 提交于 2019-12-11 05:21:49

问题


I have a project in xcode under svn source control. It happens that the xcdatamodel is not entirely being put under version control by xcode. Xcode show a question mark '?' status icon, while on the svn repository I can only see the empty xcdatamodel directory.

At first I would like to stay within xcode4 perimeter to understand why this could have happened, and how can I solve the situation with Xcode4 itself.

Then, if not possible, from the terminal window which svn command should I do on what files to solve this issue.


回答1:


in Terminal, you can get to the path of your .xcdatamodeld by drag and dropping the Core Data file into the Terminal window.

So "cd" into that folder.

Then type in svn add . (which adds everything in and underneath that directory... in other words, all the files of the Core Data model).

And then svn commit. That will bring up the Subversion commit window and once you commit your data model, Xcode won't show a "?" mark anymore.



来源:https://stackoverflow.com/questions/8628787/xcdatamodel-is-not-entirely-under-source-control-in-subversion-xcode4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!