Why can't I connect to sleeping Xcode server? - xcode

I have an Xcode server on a separate iMac computer. I use the server for running the tests.
I can connect to the server from a developer computer in Xcode and see the integrations. However when the server iMac goes to sleep mode it is no longer possible to connect to the server.
Here is how I connect to the Server from another Mac.
Open Xcode Preferences.
Go to Accounts tab.
Tap the plus "+" icon on the bottom left and choose "Add Server..." from the menu.
Finally, enter server's name or IP and login credentials.
When server computer is sleeping Xcode can not connect to the Server.
Is it expected behaviour? Should Xcode server be inaccessible in sleep mode or is it a bug?
OS X 10.11 (15A244d)
OS X Server 4.1.56
Xcode 7.0 (7A176x)

Related

Copy&Paste in VMWARE Fusion MAC (Intel, Ventura 13.0) to Windows 11 is not working

I have an Intel Mac with macOS Ventura 13 installed.
I also have VMware Fusion 12.2.4 installed.
In Fusion a Windows 11 Vm is running.
Latest vmware Tools are installed. Copy&Paste is active.
In Mac System Preferences Full System Access is granted to VMware Fusion.
What I did:
Reinstall vmware tools.
Disable / Enable Copy&Paste Preference in VMware Fusion.
Still it is not working.
What did I miss or is this a common problem?
Thanks
About VMware Fusion 13 for MAC-OS + Windows 11 ARM.
After hours of internet researchers, and a lot of fussing about it.
In the official forum it appears that version 13 does not support memory sharing between the Mac and Windows.
link:
https://communities.vmware.com/t5/Fusion-22H2-Tech-Preview/Share-clipboard-Mac-M2-not-working/td-p/2932965
The only way offered there is to use Microsoft's remote desktop app that can be downloaded freely from Apple app store.
A few more steps are required to complete the task.
Remote access should be enabled in the Windows settings.
In the menu of the virtual machine that appears when Windows is open, you need to change: virtual machine -> network adapter -> from NAT to bridged (Autodetect).
If your Windows is configured without a password, you will have to follow the following steps i copy from:
https://answers.microsoft.com/en-us/windows/forum/all/microsoft-remote-desktop/0c753149-b671-45fc-a9ec-a1ad809158df
"
Click the "Start" menu, click the "Run" command.
In the open Run dialog box, enter "secpol.msc" and click "OK" to open the local security settings.
In the console tree window on the left, expand "Local Policies" - "Security Options"
In the right window, double-click to open the "Accounts: Local accounts with blank passwords only allow console logins" item.
Enter the "Local Security Settings" tab interface, select "Disabled", and click "OK" to save the changes.
"
In the Windows cmd window, enter the command ipconfig. The address that appears in ipv4address is the one that should be registered on the Mac in the rdp address field. Activate the connection, enter the Windows username, and that's it..
The same issue with VMware Fusion 13 and Windows 11 guest system on my Ventura 13 host (M1 Max MacBook Pro).
I have no idea how to deal with it. Reinstalling vmware tools doesn't help.

"Edit Bot..." button disabled after upgrading Xcode

I've updated my Xcode from 9.2 to 9.3 (It seems to be an issue with later versions as well) and now I'm not able to edit the bots anymore.
What I tried:
I installed the additional components on the server and local machine that you will be prompted about on first open after updating Xcode.
I restarted the server and local machine.
I checked the option "Create and View Bots" on the server. It is set to "logged in users". Just as before the update.
Everytime I want to open the Xcode Server preference pane in on the local machine in Xcode settings under accounts it gives me an error. When I try it a second time it works though. But it aways fails at the first time:
I removed the Xcode Server from the accounts pane and added it again.
I solved it by removing and adding the server by IP address:
Then it was possible again to Edit the bot.
Still strange...
Got the same issue by upgrading to XCode 10 today. Fix it by completely shutting down the Mac and restarting.

Xcode no longer shows Xcode Bots / OS X Server from Local Network

I have a Mac Mini on my local network that runs Xcode Bots for continuous integration.
Recently, these Bots stopped appearing in the Xcode Reports Navigator where they normally are located. I can no longer see the Bots' integration logs or tell them to "Integrate Now".
How can I fix this issue?
In my case, this issue seems related to the discoveryd clusterf*** in Mac OS X Yosemite.
Go to Xcode > Preferences > Accounts > Servers
When the Xcode Bots were not visible, Servers listed only "Mac mini (2)". This was apparently different than the current name/address of the Mac Mini on the local network.
Use Add Server... to re-add the Mac Mini Xcode Server with its new name/address.
You'll now have 2 Mac Minis listed under Servers. One of them will allow you to view the Xcode Bots on your local network.

Xcode server can't be connected

I select Xcode in the Server app sidebar, and turn on Xcode, then Click Choose button to select Xcode.app in the Applications folder, but Server just hold on there for a long time with message 'Waiting for Xcode setup to complete...', and it remains the same after I change to a different Xcode or OS X Server, it's very annoying. The following log is found in system.log from Console app.
xcscontrol[7289]: Xcode version: 6.1 (6A1046a) (OS X SDK 13F26, iOS SDK 12B407)
xcscontrol[7289]: Server version: 4 (14S333)
xcscontrol[7289]: OS X version: 10.10 (14A389)
xcscontrol[7289]: [XCSHTTPResponse] Received an unexpected error: -1004 (Could not connect to the server.) - GET https://127.0.0.1:20344/api/versions

The Xcode service is disabled on this server

I'm trying to use OS X Server Xcode service integration.
In OS X Server, I'm sure to switch Xcode Service ON.
In Xcode Preference, Account tab, I select + and choose Add Server. I can see my Server appear in the list box. Then I fill the username and password, click Add, but the error "The Xcode service is disabled on this server" appear !!!
Someone hints that I should use IP address instead of selecting the Server name when adding Server. This works, but I then have many problems when adding remote repository or creating bots. Either Xcode asks for certificate, or shows "Server is offline", or crashes (crashes frequently!), ... I think they all relate to the previous Adding Server process.
So how to deal with this ?
Via the OS X Server app, click "Xcode" in the left sidebar and then make sure the Xcode "service" has been turned on via the slider at the top right:

Resources