XCode4:SCM存储库配置

发布于 2024-12-22 13:29:20 字数 148 浏览 4 评论 0原文

我已将 mac os 雪豹升级到 Lion OS,并将 xcode3 升级到 xcode4。以前,SCM 存储库是使用 svn 服务器配置的并且工作正常。现在升级后存储库配置不适用于 Xcode4。 如果有人已经遇到过这个问题并为 Xcode4 配置了 SCM 存储库,请帮助我。

I have upgraded my mac os snow leopard to Lion OS and upgraded xcode3 to xcode4. Previously SCM repository was configured with svn server and working fine .Now after upgrade repository configuration is not working for Xcode4.
If any one has already faced this issue and configured SCM repository for Xcode4, please help me.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

绅刃 2024-12-29 13:29:20

你可以试试这个。

  1. 打开 Xcode 并选择“窗口/管理器”。
  2. 选择
  3. 左下角的“Repositories”,单击“+”
  4. 添加 SVN 服务器的详细信息。像这样: svn://www.servername.com/directory
  5. 询问主干分支和标签(暂时留空)。
     
    现在使用“Terminal”程序连接到 SVN。
  6. 创建一个 test.txt 文件,其中包含一些简单的消息。将其保存在 Mac 上的文档文件夹中。
  7. 打开终端
  8. 输入“svn import /Users/yourname/Documnets/test.txt svn://www.servername.com/directory -m “initial import” –username yourname 系统
  9. 将提示您输入现有用户的用户密码。此时,如果您的mac用户名与配置的SVN用户名不匹配。只需按回车键即可。然后它会提示用户。输入新的 SVN 用户名,然后回车。然后配置好的SVN通过并进入。
  10. 您可能会看到这样的内容。 “svn://www.servername.com/directory 已经存在” – 忽略它!
  11. 关闭 Xcode
  12. 再次打开 Xcode 并返回到优化器/存储库,幸运的话,您的服务器将在左侧列出,并显示 SVN 服务器上的 ROOT 和任何文件夹。
  13. 单击左侧栏中的服务器名称。
  14. 输入“Trunk Branches”和“Tags”文件夹的名称。我们选择使用这些名称是为了让它变得简单。它们需要由管理员在 SVN 服务器上设置。它们区分大小写。
  15. 如果需要,可以通过 Xcode 从服务器删除 text.txt 文件。
  16. 关闭终端会话。

有关详细信息,请参阅

You can try this.

  1. Open Xcode and select Window / Organiser.
  2. Select Repositories
  3. Bottom left, click the +
  4. Add the details of the SVN server. Like this: svn://www.servername.com/directory
  5. Where asked for Trunk Branches and Tags (leave empty for now).

    now use the “Terminal” program to make a connection to SVN.

  6. Create a test.txt file with some simple message in it. Save it in your documents folder on your mac.
  7. Open Terminal
  8. Type “svn import /Users/yourname/Documnets/test.txt svn://www.servername.com/directory -m “initial import” –username yourname
  9. You will be prompted with your existing user for your user password. At this point, if your mac user name does not match the configured SVN user name. Just hit enter. It will then prompt of a user. Type the new SVN user name, then enter. Then the configured SVN pass and enter.
  10. You will likely see something that says. “svn://www.servername.com/directory already exists” – Ignore that!
  11. Close Xcode
  12. Open Xcode again and return to the Optimizer / Repositories and with luck, your server will list on the left hand side, and show the ROOT and any folders on the SVN server.
  13. Click back on the server name in the left hand column.
  14. Type in the names of the Trunk Branches and Tags folders. We chose to use these names to make it easy. They need to be setup on the SVN server by the administrator. They ARE case sensitive.
  15. The text.txt file can be deleted from the server through Xcode if desired.
  16. Close the terminal session.

For detail refer this.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文