在 XCode 5 中将项目导入远程 SVN 服务器
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/19246871/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
importing a project into a remote SVN server in XCode 5
提问by JAHelia
Previously in XCode 4, in the Organizer screen, in the Repositories section, there was an option (import) to import a project into an SVN server, this option is now disabled in Xcode 5's Source Control menu although the repository is added in the Accounts section in XCode's preferences. how can I use this import feature with Xcode 5 to import my project into the remote SVN server ?
以前在 XCode 4 的管理器屏幕中,在存储库部分,有一个选项(导入)将项目导入到 SVN 服务器,尽管存储库已添加到帐户中,但现在在 Xcode 5 的源代码管理菜单中禁用了此选项XCode 首选项中的部分。如何在 Xcode 5 中使用此导入功能将我的项目导入远程 SVN 服务器?
thanks in advance.
提前致谢。
P.S. I don't want to import the project manually on the SVN Server, because I faced problems with the manual import, and I also don't want to solve this problem by paying $20 to purchase and install the OSX Server product which is supposed to solve this problem by running the OSX Service on the SVN server machine.
PS我不想在SVN Server上手动导入项目,因为我遇到了手动导入的问题,我也不想通过支付20美元购买和安装OSX Server产品来解决这个问题通过在 SVN 服务器机器上运行 OSX 服务来解决这个问题。
回答by Mojtaba
Follow the same process from this answer:
按照此答案中的相同过程进行操作:
https://stackoverflow.com/a/19410994/1017340
https://stackoverflow.com/a/19410994/1017340
Summery:
总结:
Checkout empty trunk to a folder let say : /local/
将空主干结帐到一个文件夹,例如:/local/
copy all codes (Xcode project) to /local/
将所有代码(Xcode 项目)复制到 /local/
Open Xcode project from /local
从 /local 打开 Xcode 项目
Now you are able to commit everything.
现在您可以提交所有内容。
PS. There is no import functionality (like what you want) in Xcode 5.
附注。Xcode 5 中没有导入功能(就像您想要的那样)。