What makes Xcode Server complains cannot build for any platform supported by this schema?

I have a project have this issue.


The Choose the devices that this bot will test with: dialog shows:

Test With: None (gray-ed out)
                 This server cannot build for any of the platforms supported by
                 this schema. Available server platforms: OS X, watchOS.

It can be built on server machine with the copy of Xcode using by Xcode Server and runs well on the simulators and iDevices plugged on that server, I have tested.

The Xcode Server itself works well, I have other projects with bots running on it.


It seems there is something wrong in the schema, but I have no clue so far. Any idea is appriciated.

PS,by deleting the schema, auto-recreate it and share, problem can be eliminated. But it is such a weird issue, I can't hold to understand what's wrong.

that (deleting and auto-recreating the scheme) doesn't work for me...


I've even created a new project, commited it into the repository, and still the same error


Adding:


I've tried selecting Xcode once more on the server (selected the same one), and now it works... no idea why

I have the same Issue. I reported a Bug at bugreport.apple.com on 2015/10/08.


The Problem and the tings i trieed to solve the Problem:


Problem:

Creating a new Test Bot with xCode shows in Step: "Choose the devices that this bot will test with"

"Test With:" None (grayed out)

Text below: This server cannot build for any platforms. Please consult your system administrator.

Also no connected Devices for the Server are shown.

xCode on this Server can use Devices and Simulators.


OSX: 10.10.5 (14F27)

xCode: 7.0.1 (7A1001)

Server: 5.0.4 (15S2259)


xCode and Server newly installed via App Store (but with 2 different Accounts).


Tried to check if its a Project Problem by creating a new Project and empty Project and create Bot for the new Project. Got the same Error.


Last time Bots worked for us was with xCode 6.x.

I'm seeing the same behavior as Ringo.


OSX: 10.11 (15A284)

xCode: 7.0.1 (7A1011)

Server: 5.0.4 (15S2259)


Server and xCode newly installed. Getting the greyed out "Test: " option that says: "This server cannot build for any of the platforms supported by this scheme. Available server platforms: OS X, watchOS."


I've got all of the simulators available installed as well.

Had the same problem, here's what I did to resolve it. Perhaps only the last step was necessary but give it a try...


On the computer hosting XCode Server

  • Open Xcode
  • Create a new iOS project (save it anywhere, it's just to ensure all tools are initialized)
  • Quit Xcode
  • Delete the project you just created
  • Open (OSX) Server
  • On the Services > Xcode pane, click "Choose Xcode..."
  • Select Xcode from /Applications (it was the same Xcode I'd selected the first time
  • Start the Xcode Service (selecting Xcode stopped it)



From your development computer, try to create the bot again. This time it does not report: "This server cannot build for any of the platforms supported by this schema" (silly, eh?)

I believe it's just that the server hasn't picked up the updated Xcode to match the client. So, selecting Xcode is all that I needed to do.

This doesn't fix the problem for me.

I am in exact same situation as Ringo. None of the solutions provided here worked. Any other solution? I keep getting message saying "This server cannot build for any platforms".

When I look at the Server config from XCode->Preferences, it show the following:


Server API v7

SDKs: None Installed

OS X 10.10.5 (14F1021), Xcode 7.1.1 (7B1005), OS X Server 5.0.15 (15S4033)


It seems that Server is not able to find any SDKs installed. XCode on my machine is working as expected though, so SDKs are definetely in place. Not sure what else can be done.

I am seeing this too. I've tried reinitialising Xcode Server, installing simulators (even though I want to build an OS X app with a bot), re-pointing the Server app at Xcode.app multiple times, and nothing is changing, it just keeps on claiming that there are no SDKs. I'm pretty close to burning an ATS ticket to solve this.

I had the same issue.


I fixed it deleting the server account in XCode -> Preferences -> Accounts - and readded the server with the right credentials.

What makes Xcode Server complains cannot build for any platform supported by this schema?
 
 
Q