It seems that every time a bot integration runs, something happens in the early stages of the integration which causes the server to be removed from the team. As a result, every integration fails outright.
Removing Simulator devices from the integration bot device list (i.e., test on real hardware only) "resolved" this issue for me.
Still happening in Beta 5
Still happening in Beta 7
Xcode Version 11.3.1 (11C504)
Tap on Add server to team, but after the bot runs (integrates), Edit Bot > Signing shows the error Your server has been removed from this team and needs to be added again
I am no expert, but based on my experience you can ignore this error. If there is any other error in the integration then look into that instead.
Do 2 things to ensure that the Xcode Server Certificate is created and used by the Xcode Server
- Check if the Xcode Server is certificate is created in developer.apple.com > Account > Certificates.
- Switch to the Xcode Server user on the mac and check the Keychain to check if the Xcode Server certificate is present