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
Build makefile to support Mac Catalyst #20537
Conversation
@praeclarum can you tick the "Allow edits and access to secrets by maintainers" box so that I can add the changes Alexander requested? Or do you want to implement them? |
Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
This is in response to the code review: mono#20537 (comment)
@rolfbjarne and @akoeplinger sorry for the delay, I have made the requested changes. Thanks for the review! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, looks great!
@monojenkins backport to 2020-02 |
This is in response to the code review: mono#20537 (comment)
Backport of #20537. Co-authored-by: Frank A. Krueger <fak@praeclarum.org> Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
This patch introduces new Mac Catalyst support for mono!
Background Mac Catalyst allows a developer to use the traditionally iOS APIs - like UIKit - on macOS. It retains the same ABI as macOS x86_64, however, is compiled with a new
-target
flag that is required in all static and dynamic libraries.This patch is my first port of mono so I appreciate any code reviews. :-)
I started with a clean build target so as not to break current iOS and Mac support. There is the potential to merge this with the existing iOS support, but I think this method of a specific
maccat.mk
file is a cleaner separation.I discussed this publicly on the Merge Conflict podcast: https://www.mergeconflict.fm/225
I also show off the work on my Twitch stream: https://twitch.tv/FrankKrueger
This is the build script I've been using: