从Xcode 5导入SVN中的项目 [英] Import a project in SVN from Xcode 5
问题描述
在xcode 4组织者中有一个按钮import,在xcode5中如何在我的svn存储库中导入项目?
谢谢
这个问题有点令人困惑,所以请告知它是不是你需要的(否则,请随时接受答案)。令人困惑的是,您描述的Xcode 4工作流用于允许开发人员管理存储库(svn或git)。如果您想要一个Xcode项目并将其添加到现有的svn存储库,我会附加该问题答案的链接。
将Xcode项目添加到SVN :
-
In xcode 4 organizer there was a button "import", in xcode5 how do I import a project in my svn repository?
thanks
解决方案The question is a bit confusing so please advise if it's not exactly what you need (otherwise, feel free to accept the answer). The confusion is that the Xcode 4 workflow you describe is used to allow developers to manage repositories (svn or git). If you want to take an Xcode project and add it to an existing svn repository I am attaching links to answers for that question.
Adding Xcode Projects to SVN:
High-level Concepts (Xcode 4 Workflow in Xcode 5):
- Tell Xcode 5 about a repository (it will auto detect the type of svn or git)
- Check-out the repository for insertion into a different project
Background:
In Xcode 4.6.3 there was a repository area of the organizer. This is where subversion and git projects were managed.
New Workflow:
The new location for this information in Xcode 5 is in Xcode > Preferences > Accounts > Repositories (menu on the left) > (+) Add Repository... (on the lower left)
Once selected one may enter a repository address (local or external):
And give the repository a directory name (credentials for many public read only repos are optional):
With Xcode 5, one can then download the repository to a target folder by going to menu Source Control > Check Out...
As part of the checkout wizard one will be authenticated to the repository:
Select a target folder to store the local repo:
Edit basic repo properties:
For more information on adding projects to repositories:
Xcode 5 Source Control Management Documentation
这篇关于从Xcode 5导入SVN中的项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!