Can I build macOS projects other than Xcode projects?

Hi,

I want to build a Rust project on macOS.
The project is not a Xcode project.
Can I build this on CircleCI?

Although the images are specifically designed for building Xcode projects, you have full access to a MacOS VM so you could theoretically do anything you’d like there.

The biggest challenge is that there are not any tools built into the image for building things outside of the standard Xcode toolchain. This means that you might spend quite a bit of time as a part of your build installing and configuring dependencies.

Is there a specific reason why you want to build this on MacOS?

Thank you @levlaz,

Is there a specific reason why you want to build this on MacOS?

I would like to provide macOS binaries to users.
I could build macOS binaries using osxcross on Linux. That said, we need to build a custom Docker image for this and the image would be public on DockerHub, which seems not so good.

I’m making a contact with Apple, asking whether putting the image publicly is acceptable or not.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.