Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for macOS Monterey 12 #30

Merged
merged 6 commits into from
Dec 11, 2022

Conversation

SirNate0
Copy link
Collaborator

@SirNate0 SirNate0 commented Dec 6, 2022

Addresses #12.

I have not tested actually running any applications, but the builds at least complete now on both the github runner and my local machine. Though locally I did encounter some errors related to signing the code (I have not set that up yet) when I did not set the environment variable CI=true.

Most of the fixes, it turns out, where actually just disabling a lot of the previous fixes and build optimizations that had been applied in the build system - it seems they are no longer useful with the newer CMake and Xcode (and end up causing problems instead of solving them). Possibly this breaks builds on systems with older CMake/Xcode.

Honor the cached/command-line provided CMAKE_OSX_ARCHITECTURES.
Disabled the post_cmake Xcode "fixes" that seem to have broken with the usage of Apple's Arm processors.
Diable xcpretty by default in the rakefile for more thorough error messages (can be enabled with the USE_XCPRETTY environment variable).
…ng generated/toluabind.c, which was used to build tolua++).

For example, this error:
> error: Build input file cannot be found: '/Users/runner/work/U3D/U3D/build/ci/Source/ThirdParty/toluapp/src/bin/generated/toluabind.c'.
> Did you forget to declare this file as an output of a script phase or custom build rule which produces it? (in target 'tolua++' from project 'Urho3D')
@SirNate0
Copy link
Collaborator Author

SirNate0 commented Dec 6, 2022

Also addresses #28, though not completely (we should probably not require two builds of the library to use the newly generated toluabind.{c,h} code). It is possible that just enabling the new build system would fix the build failure without this change, but I have not tested that.

@SirNate0
Copy link
Collaborator Author

SirNate0 commented Dec 8, 2022

And I can confirm that all of the samples I have tried run successfully. (Which granted was only a few of them).

@klaussilveira klaussilveira merged commit beedb98 into u3d-community:master Dec 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants