11

When I create new project in Xcode 5, Am trying to add new server for source control. But am getting error alert like this "The Xcode service is disabled on this server. Please contact your administrator for help".

prakashsys
  • 125
  • 1
  • 9
  • @pakashsys - please let me know whether my response has answered the question adequately or if not further refine your question. – Tommie C. Oct 08 '13 at 23:07
  • @TommieC. Thanks for your answer, OSX Server is must for using github and subversion repositories in xcode ??... i have subversion server in windows environment. – prakashsys Oct 09 '13 at 11:01
  • As noted in my answer, you must use OSX server when you are prompted for a server name. If you want to save projects to a subversion server you will need to follow the directions in the link supplied in my answer. – Tommie C. Oct 09 '13 at 17:15
  • @pakashsys OSX Server is not required for using github or subversion repositories in Xcode. The server name is useful if you want to manage your projects under OSX Server or if you want to use the new bots integrations with OSX 10.9 Server. Hopefully the links in the answer provide enough information on connecting to github and subversion servers. – Tommie C. Oct 10 '13 at 21:38
  • @TommieC. so we can add only OSX Servers in xcode am right ?? – prakashsys Oct 14 '13 at 08:43
  • correct. One connects only to OSX Servers using this method. – Tommie C. Oct 14 '13 at 09:45
  • @TommieC. Have one more doubt, i have check outed svn repository project. But the svn origin is not assigned. How can i assign remote url for commit the project to svn repository. This issue have any link with OSX Server. Reference image URL https://www.dropbox.com/s/po7splrc0hmq39h/Screen%20Shot%202013-10-14%20at%205.28.52%20PM.png – prakashsys Oct 14 '13 at 12:13
  • That is a different question. I recommend you search stack overflow for the answer or ask another question. If my answer is helpful for you original question please accept the answer by clicking the checkbox. This will help raise your reputation and encourage others to respond to future questions. BTW - You may find additional info at this link: http://stackoverflow.com/questions/18972985/xcode-5-organiser-not-showing-existing-repositories – Tommie C. Oct 14 '13 at 18:44

3 Answers3

5

Please check out how to turn on the OSX Server Xcode service at the following link:

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):

Add new server

So basically just make sure the OSX Xcode service is ON or restart your 10.9+ OSX server if possible...

Enable Xcode Service on OSX Server

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. 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).

Github Help

Pushing to Google Code

Community
  • 1
  • 1
Tommie C.
  • 12,895
  • 5
  • 82
  • 100
  • For adding the OS X Xcode service to the Xcode, is it necessary to add a apple account under Developer teams in Server.?? – TutuGeorge May 21 '14 at 10:14
  • @NOOB In order to access the server externally you will need to configure the settings after enabling the service. I have added my apple account under developer teams and enabled individual user access under permissions. I haven't tried to remove the apple account to test for impact so I am uncertain of the result if one were to leave this empty. – Tommie C. May 21 '14 at 14:50
5

It sounds like you want to add a repository, not an XCode Continuous Integration server. Adding a server is adding an XCode Continuous Integration server. Use add repository instead. See the guide in the first link.

quellish
  • 21,123
  • 4
  • 76
  • 83
  • suppose I have a OSX server configured in a different location and i add my OSX server using url in my Xcode. Now, I want to create bot from my Xcode for a repository then how to do it?? My repositories are hosted on entirely different server as compared to my machine and the one hosting OSX server. All three in different locations. – Shivam Mishra May 28 '14 at 10:19
1

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. Otherwise you are looking at adding a "repository".

I got enlightened by the screenshot below, note the server address:

repo

Ascendant
  • 2,430
  • 3
  • 26
  • 34