Xcode: Add git server: "Server is disabled" - xcode

I just set up a small GitLab server on my Proxmox box and want to use it for my Xcode projects. I create a new project in Xcode and under "Create new git repository on", I select "Add new server". Then, I enter the address (ssh://git.tobi-soft.de) and give it my username and password (I tried both my username and email address).
But then Xcode comes back and says "Server is disabled". Is this a configuration issue on my server, a bad URL or simply a bug in Xcode? (Xcode 5 DP3)
Thanks
Tobias Timpe

I get the same error message with Xcode 5 DP3. Can't really go into much more detail (NDA); and can't discuss it anywhere else as the Dev Forums are down!

Related

Issue commiting to Genexus Server

I'm following this tutorial: https://training-legacy.genexus.com/en/training/global/courses/smart-devices-en/introduction-to-genexus-16
and i have the Genexus 16-trial version.
In the end of the "First Transaction design" lesson, you have to send the changes to Genexus server,
but this is what happens when i open the "Team Development" page
If i enter the link in the message, from my browser https://sandbox.genexusserver.com/v16/ i can login normally, authenticating with Genexus Account and i can see my knowledge base in there.
I have pending commits, following the steps of the tutorial but i can't commit them. I wrote a commit message and pressed commit at the right bottom corner of the window and it rerturns a similar message:
error: GAM11: The user or password is incorrect.
Failed: Commit
The only 3 user and password i found were:
When creating the KB (if you disable Windows NT integrated security) but i couldn't find a valid user id and password for that, also the tutorial doesn't do this so i doubt this is it.
At tools -> Genexus Account, i can enter my email and password, and i think the IDE asks you to do this when sending the KB to the Server the first time, but when i fill it with the same credentials i use to login in to the website and press "sign in" now, it doesn't give any response.
Lastly There's the Windows Generic credential that is created but i don't even know how, just found it browsing at the genexus wiki and i have no idea what interaction it has with all this (if it does).
it is below preferences. If you do not have the view near KB explorer then you should go to the menu toolbar ā€”> View ā€”> Other tool windows --> preferences in order to activate it.
Team Development properties in Full Version
Note: Trial has no properties available below TeamDevelopment Tab
Team Development properties in Trial Version
Could you double check if you have the correct credentials below TeamDevelopment node?
Team Development

Can't access Mac server from Xcode

I wanted to create a remote repository in my Mac server. I have installed the app, configured and started the Xcode service as per the Apple docs. But when I try to add the server to my accounts in Xcode, the server name is there, but on adding, it is giving the following error.
Unable to perform the request. CFNetwork error: The network connection
was lost. (-1005 - kCFURLErrorNetworkConnectionLost)
The server is hosted on the same Mac in which I am developing.
I've run into the same issue (my server is on the LAN but it had previously been working).
I'm assuming you've got a Git repository created locally and you want to push it to the server. I'm using Xcode 8.2
The only 'solution' I've found so far is to manually create the remote from the Mac Server app (you could also do it on the command line if you want). The steps I used:
Go to the Xcode section of the Server app, select 'Repositories' on that screen, then the + button to add a repository with the name you specified.
After doing that; go back to Xcode proper and with your project selected Open the 'Source Control' menu, select your repository then click 'Configure '
In the resulting dialog, select the 'Remotes' tab
Click the '+' button and select 'Add remote...'
Another dialog comes up. For 'Name' use the same name as you did in the Server. Address should be whatever Server->Xcode reports for the repository you created (something like ssh://hostname/git/MyRepositry.git).
Click 'Add Remote'
Click 'Done'
You should now be able to push/pull between your local and remote repository.
Not the best solution, but as I say, it's the only one I've found so far. Quite a few people seem to be asking this, but none of them seem to have found better answers either. To find some of the other people reporting the problem, I used the following search term in google:
git unable to perform the request cfnetwork error the network connection was lost xcode
Just do the following steps :
1.Remove your Server from Xcode
2.Quit Xcode
3.Restart/Shutdown machine (If I don't restart/shutdown machine, unable to add server again in my case)
4.Open Xcode
5.Add Server again
This Solution works for me, but its not proper solution. It's headache to repeat the above steps every time while facing same issue, I research more on this but did not get any proper satisfactory solution.

sandbox fail to access local socket

i've created a local socket in my app, and i'm getting the following error when trying to send data to target process :
deny network-outbound
i've made some research and found out that in order to fix this problem on Xcode based application, i need to to set "Allow Outgoing Network Connections" checkbox in the Summary tab of the target editor.
however, i'm using Xcode 6.3.2 and i don't see such option (summery tab is also missing).
where can i get the equivalent of this checkbox?
This is Xcode 6.4, but it was the same in 6.3.2:

Xcode asks for a password to do some changes

Hi I just downloaded Xcode for free after agreeing to the terms and conditions a message pops up saying "Xcode would like to do some changes please type your password" I tried to put apple ID password but it is not working. Please advise

Why am I getting the error "Command /usr/bin/codesign failed with exit code 1" in Xcode 6 on Yosemite?

I'm using Xcode 6.1, OS X Yosemite preview 8, and I'm getting the following error on code signing my app:
Command /usr/bin/codesign failed with exit code 1
Reading on Google, it seems to be linked to expired certificates/provisioning profiles. I deleted all of my certificates & profiles, created a new development certificate & profile, installed both, restarted my Mac, and Iā€™m still getting the same error.
Can anyone shed some light on how to resolve this problem?
How about this: Try Xcode -> Preferences -> Accounts -> Choose your account, and then View Details -> Refresh (button on bottom left), Refresh again, restart XCode. Sounds like voodoo but it works for me and my team! (Posting it as answer, because it DOES work, at least sometimes and for some people. Possibly related to the weather ;) )
as of Xcode 6.3.2, here's what I did.
from main project view, click on build settings and in the search bar type in certificate, a code signing tab should pop up, I chose "dont sign code". and it worked
So I've managed to fix the issue for my particular case - in the build settings, instead of automatically detecting the certificate & provisioning profile to use, I manually set them - and it works.
In my case I was getting this error while trying to build a project I downloaded from Github for my own personal use. I just went to the build settings and told it not to sign the code.
Another gotcha I noticed is that codesign will fail if run from an ordinary ssh login session. It has to be run on a MacOSX desktop GUI shell window. This catches me every time, so I've added a line to the build script to print a message about running the script on the MacOSX GUI if codesign fails.
Delete previous provisional profile and add new provisional profile.restart the machine if still its giving an error like above. when your machine shut off then automatically your device asking for permission then select Confirm and run your code....its working.
There appears to be a bug in XCode (I'm using 7.1.1) with returning to "Signing: None" after having attempted to sign with an expired identity, resulting in this codesign error even after you've apparently removed the bad signing identity.
The project.pbxproj file retains TargetAttributes for the expired identity, and Debug and Release settings both continue to show the following instead of the original empty values:
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Mac Developer";
This persists after cmd+alt+shift+K and closing XCode. I fixed it with a git reset (if I hadn't committed before attempting to sign, I'm not sure how I would have found this).
I had to delete all my developer certificates from Keychain Access first, then use the Preferences -> Accounts -> View Details -> Download All approach to successfully re-sign my code.

Resources