Search code examples
gitcontinuous-integrationremote-serverosx-server

os x server and remote git repos


Can someone explain the relationship between Xcode developer computer, the osx server and using a remote git repository?

I want to commit my changes to a remote repo(bitbucket) and have my os x server run the bots on it?

new: After some messing around, I have managed to make a bot for the remote server but now I get the following errors

    SSH Known Hosts file path is located at /Library/Server/Xcode/Config/ssh_known_hosts
SSH strict host checking is disabled (you can enable this by editing the SSHStrictHostKeyChecking key in /Library/Server/Xcode/Config/xcsbuildd.plist
Untrusted HTTPS certificates is enabled (you can disable this by editing the TrustSelfSignedSSLCertificates key in /Library/Server/Xcode/Config/xcsbuildd.plist
622a6bc3406c764e9e97ec156818b739ecb40ee9 refs/heads/master

only I did that already and it doesn't change anything.

and another error:

xcodebuild: error: The project 'testOnlineGit3' does not contain a scheme named 'testOnlineGit3.xcscheme'.

My scheme is shared, and thats its name, so I'm not sure how to fix it

new: Changed my scheme name, and now the bot works, but i still get the previous warnings, I'm not sure exactly what they mean, anyone has an idea how to make them go away?


Solution

  • I'm not sure if understood your question correctly but: Xcode server can connect to remote repository like (bitbucket, github etc..). Basically you submit your code to remote repo and Xcode server will pull your submitted code.