feat(macos builds): added macos build support #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey there,
I added mac os build support. I added the macos template into the repo
export_templates/4.0.rc2/macos.zip
(not sure if that's the best way because it is rather big) and also included theexport_presets.cfg
to make the builds work out of the box. I also updated the projects to make them build on mac without breaking compile errors. But the most relevant changes can be found in these commits:Furthermore I updated the VirtualCamera example to make it compile & build in godot4 but there seem to be some game logic issues which still need to be tackled. I didn't manage to make the FPS example run in a timely manner as of the mentioned missing Skeleton3D modification support: godotengine/godot#71137. I think this should be tackled in a separate issue.
I am not sure if the mac builds will compile on linux without problems because of code signing and xcode, so please let me know. If it does not work, there seems to be a way to build for mac on linux: https://docs.godotengine.org/en/latest/contributing/development/compiling/compiling_for_macos.html#cross-compiling-for-macos-from-linux