Embedding macOS System frameworks in Xarmain .app bundle

Doug Theobald 6 Reputation points
2021-07-02T13:01:08.81+00:00

We have a Xamarin app targeting macOS that we need to be able to run on macOS 10.13 (High Sierra) and later. We need this app to be a self contained install, so it needs to include native macOS libraries that may not be installed on the target system. However, when Visual Studio creates the .app bundle it doesn't include any of the various /System/Library/Frameworks that are needed by the app. I've been hunting for a Visual Studio option that would enable embedding those frameworks, but have found nothing.

Is there a way to include those frameworks? What am I missing?

Thanks

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
0 comments No comments
{count} vote