Hello guys, recently I integrated a third-party library into my code to handle blur effects (Glur). This library leverages Metal's compute capabilities and appears to automatically depend on the Metal toolchain during the build process. When using Xcode Cloud, the archive step consistently fails with a "CompileMetalFile Failed" error. However, when I manually archive the project in Xcode locally, everything works fine without any issues. I’ve confirmed that the macOS and Xcode versions specified in my Xcode Cloud workflow are correct. Reply if you know how to fix it or it will be fixed future, thanks.
I'm using Xcode 26.2(17C52) and macOS(15.7.1 (24G231))
Xcode Cloud
RSS for tagAutomate workflows to test, analyze, build, and distribute your app, and integrate them with other developer tools, such as TestFlight and App Store Connect.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Good morning all,
We have an on-premise instance of Bitbucket (v8.19.25), using a custom port. We'd like to try using Xcode Cloud, compare to our current CI/CD provider.
Once I have to select my source control provider to grant access, I select Bitbucket Server. If I try to input the Host Name with, or without a port, I'm receiving this response:
{
"message": "An error occurred",
"details": [
{
"message": "An error occurred",
"source": "host"
}
],
"actions": [],
"recovery_actions": [
{
"dismiss_label": "OK"
},
{
"feedback_label": "Provide Feedback",
"feedback_component": "Xcode Cloud | New Bugs"
}
],
"should_show_error": true
}
Which, of course, doesn't help me in the slightest to understand why the connection fails. I do notice that the request to https://appstoreconnect.apple.com/ci/api/teams/<id>/setup-flow/scm-repositories in the web inspector already includes a host and port that I use to clone the repository locally. However, the web-based interface of Bitbucket doesn't include that port.
So, if I clone a repo: ssh://<bitbucket-instance>:<port>, but if I look at pull requests: https://`.
My colleagues have already determined that there shouldn't be any firewall rules or gateway limits, so Bitbucket should be reachable. No VPN either.
How can I continue to fix this?
My workflow is using Xcode 16.4 and macOS Tahoe 26.2 (25C56). I am trying to change Xcode version to 26.2. When I click Save after some time I get "Something went wrong" error message without any additional details (see screenshot).
I get the same error for the following cases:
Tried changing a different workflow
Tried to deactivate a workflow
Tried various combinations of Xcode (26.1, 26.1.1, 26.2) + mac OS (26.1, 26.2)
Tried creating a new workflow with Xcode 26.2 (haven't tried any other Xcode versions though)