简体   繁体   English

在Xcode 5中,当我在源代码管理下添加服务器时收到错误

[英]In Xcode 5 getting error when i add the server under the source control

When I create new project in Xcode 5, Am trying to add new server for source control. 当我在Xcode 5中创建新项目时,我试图为源代码控制添加新服务器。 But am getting error alert like this "The Xcode service is disabled on this server. Please contact your administrator for help". 但我得到的错误警告“此服务器上禁用了Xcode服务。请联系您的管理员寻求帮助”。

Please check out how to turn on the OSX Server Xcode service at the following link: 请通过以下链接查看如何打开OSX Server Xcode服务:

https://developer.apple.com/library/mac/documentation/IDEs/Conceptual/xcode_guide-continuous_integration/200-Adopting_a_Continuous_Integration_Workflow/adopt_continuous_integration.html#//apple_ref/doc/uid/TP40013292-CH3-SW1 . https://developer.apple.com/library/mac/documentation/IDEs/Conceptual/xcode_guide-continuous_integration/200-Adopting_a_Continuous_Integration_Workflow/adopt_continuous_integration.html#//apple_ref/doc/uid/TP40013292-CH3-SW1

If review of this guide does not fix your issue please let me know more specifics about your environment. 如果对本指南的审核无法解决您的问题,请告诉我有关您的环境的更多详细信息。 If it does help please consider accepting the answer so others will locate the resource. 如果确实有帮助,请考虑接受答案,以便其他人找到资源。

Important Conceptual Notes: 重要概念说明:

When you setup a new project and you are offered a server this refers to an OSX Server only (not github or any non-OSX external server): 当您设置一个新项目并且提供服务器时,它仅指OSX服务器(不是github或任何非OSX外部服务器):

添加新服务器

So basically just make sure the OSX Xcode service is ON or restart your 10.9+ OSX server if possible... 所以基本上只要确保OSX Xcode服务是ON或重启你的10.9+ OSX服务器,如果可能的话......

在OSX Server上启用Xcode服务

NB: If what you want to do is to push your repository to github.com or code.google.com please see the following links for instructions on getting this to run in Terminal. 注意:如果您要将存储库推送到github.com或code.google.com,请参阅以下链接,了解如何在终端中运行存储库。 Once the link between the remote repository and your local directory then Xcode will be able to push updates to your remote repositories (this will be available as a checkbox when you commit your project). 一旦远程存储库和本地目录之间的链接,Xcode就能够将更新推送到您的远程存储库(当您提交项目时,这将作为复选框提供)。

Github Help Github帮助

Pushing to Google Code 推动谷歌代码

It sounds like you want to add a repository , not an XCode Continuous Integration server. 听起来您想要添加存储库 ,而不是XCode持续集成服务器。 Adding a server is adding an XCode Continuous Integration server. 添加服务器正在添加XCode持续集成服务器。 Use add repository instead. 请改用存储库。 See the guide in the first link. 请参阅第一个链接中的指南。

It seems like a "Server" in apple's definition is not a BitBucket server or GitHub server, it has to be a server that you host by yourself. 苹果定义中的“服务器”似乎不是BitBucket服务器或GitHub服务器,它必须是您自己托管的服务器。 Otherwise you are looking at adding a "repository". 否则,您正在寻找添加“存储库”。

I got enlightened by the screenshot below, note the server address: 我通过下面的屏幕截图得到了启发,请注意服务器地址:

回购

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我在XCode 9中的“Source control navigator”下获得了两个项目源代码 - I am getting two projects source under “Source control navigator” in XCode 9 如何在 Xcode 中创建机器人? 获取“创建机器人需要一个受源代码控制的项目。” - How do I create a bot in Xcode? Getting "Creating a bot requires a project that is under source control." 如何将.bundle添加到Xcode 4源代码管理中? - How to add .bundle to Xcode 4 source control? 单击源控件时Xcode 6崩溃 - Xcode 6 crashes when clicking source control 为什么我没有在Xcode源代码控制中获得master分支以在Swift中首次上载项目 - Why i am not getting master branch in Xcode source control to upload project in github for the first time in swift 当我在Xcode 5中使用工作区时,为什么源控件不起作用? - Why isn't source control working when I use a workspace in Xcode 5? 将文件添加到SVN源代码管理>在XCode 4中添加为灰色 - Adding file to SVN source control > add grayed out in XCode 4 在Xcode 8.2.1上运行应用程序时,在Breadwallet上出现错误 - Getting an error on Breadwallet when I run the app on Xcode 8.2.1 在xcode中配置时出现错误 - getting error when provisioning in xcode 如何在源代码管理下获取Images.xcassets? - How do I get Images.xcassets under source control?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM