Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@monojenkins
Copy link
Contributor

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:

#!/bin/bash

export XCODE_DIR=/Applications/Xcode_12.0.0.app/Contents/Developer
export MACOS_VERSION=10.15

echo "ENABLE_MACCAT=1" > sdks/Make.config
make -C sdks/builds configure-maccat

make -j20 -C sdks/builds build-maccat

make -C sdks/builds archive-maccat

Backport of #20537.

/cc @akoeplinger @praeclarum

(cherry picked from commit 5dd48c6)
(cherry picked from commit a12aeed)
(cherry picked from commit 5f72927)
@praeclarum
Copy link
Contributor

Excited to see it in CI already, thank you!

@akoeplinger akoeplinger merged commit dfbfe5e into mono:2020-02 Nov 11, 2020
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.

3 participants