How to make Xcode Cloud compile code compiled in Xcode beta ?

Hi,

I have an Xcode project that uses Xcode 14.0 beta 6 (14A5294g).

How to make Xcode Cloud compile code compiled in Xcode beta?

My code uses beta APIs that doesn't seem to compile on Xcode Cloud (throws compilation errors)

Am I missing something as this would be a common scenario for many developers?

How do I make the beta APIs compile on Xcode Cloud?

Answered by newwbee in 735319022

@rafael160

Edit WorkFlow > Environment and set the following

  • Xcode Version select Latest Beta or Release
  • macOS Version select Latest Beta or Release

In your workflow configuration, configure the Xcode version to use "Latest Beta or Release." Have you already done this?

Thanks for the reply but I am facing another issue before getting to try your suggestion.

While trying to create a workflow I get the following error

"<App name>" could not be added to Xcode Cloud
The product with Bundle ID (<Bundle ID>) has already been created in this team.

Some background details:

  • I was using Xcode cloud before on a Xcode release version
  • Later I upgraded macOS 13.0 Beta and the used Xcode Beta
  • Xcode Cloud workflow was not appearing on Xcode
  • I tried several times and later I think I ended up deleting the workflow on AppStoreConnect
  • Then I tried adding the Xcode error when I face this error

Any help would be much appreciated, many thanks!!

I'm having the same problem, any update?

Accepted Answer

@rafael160

Edit WorkFlow > Environment and set the following

  • Xcode Version select Latest Beta or Release
  • macOS Version select Latest Beta or Release
How to make Xcode Cloud compile code compiled in Xcode beta ?
 
 
Q