Xcode 4中的本地仓库 [英] Local Repository in Xcode 4

查看:122
本文介绍了Xcode 4中的本地仓库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将本地svn或git存储库添加到Xcode 4中的代码中。我找到了将其添加到新项目的帮助。但我该如何将它添加到旧的?



我开始在Xcode 3中工作。最近我使用Xcode 4.我想使用Time Line。

解决方案

我正在寻找相同的答案问题。我所做的是遵循'adymitruk'给出的步骤,除此之外,从XCode的组织者窗口中选择'Add Working Copy'选项并选择我执行git命令的项目文件夹。



然后从管理器窗口中的Repository中双击XCode项目文件(扩展名为.xcodeproj的文件),并在XCode中打开我的项目。这似乎已经奏效。



来自苹果的一些文档可以在以下网址找到:
http://developer.apple.com/library /mac/#documentation/IDEs/Conceptual/Xcode4TransitionGuide/SCM/SCM.html%23//apple_ref/doc/uid/TP40009984-CH7-SW10



请参阅以下文档的将Git或Subversion版本控制添加到现有项目部分,其中包含Git命令:
http://developer.apple.com/library/ios/#documentation/ ToolsLanguages / Conceptual / Xcode4UserGuide / SCM / SCM.html%23 // apple_ref / doc / uid / TP40010215-CH7-SW9


I want to add local svn or git repository to my code in Xcode 4. I found help for adding that to a new project. But how do I add that to an old one?

I started working in Xcode 3. Recently I'm using Xcode 4. I want to use Time Line.

Please help.

解决方案

I was looking for an answer to the same problem. What I have done is followed the steps given by 'adymitruk' and in addition to that from the organizer window of XCode I selected 'Add Working Copy' option and selected my project folder where I had executed the git commands.

Then I double clicked the XCode project file (file with extension '.xcodeproj') from the Repository in Organizer window and that opened my project in XCode. This seems to have worked.

Some documentation from apple can be found at: http://developer.apple.com/library/mac/#documentation/IDEs/Conceptual/Xcode4TransitionGuide/SCM/SCM.html%23//apple_ref/doc/uid/TP40009984-CH7-SW10

Refer the following document's section "Add Git or Subversion Version Control to an Existing Project" which includes the Git commands: http://developer.apple.com/library/ios/#documentation/ToolsLanguages/Conceptual/Xcode4UserGuide/SCM/SCM.html%23//apple_ref/doc/uid/TP40010215-CH7-SW9

这篇关于Xcode 4中的本地仓库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆