How to prevent macOS archive in Xcode Cloud build?

HI there,

I just started using Xcode cloud.

When building Xcode cloud, two archives are being generated: iOS and macOS.

The macOS archive always errors out with:

xcodebuild: error: Unable to find a destination matching the provided destination specifier: {generic:1, platform:macOS}

I have no intention of my app running on macOS, but if I knew how to fix that, it might be kinda neat.

But really, it's unnecessary, so how do I turn it off?

Thanks,

Kim

Replies

Hi, After I search: 1- Go to "Manage Workflows" in "Xcode Cloud" 2- Click edit your "WORKFLOW" 3- Scroll down to "Actions" and delete the "Archive - macOS Action:

I hope I helped you, Ibrahim