Bug 36330 - Support copying frameworks into the app bundle
Summary: Support copying frameworks into the app bundle
Status: RESOLVED FIXED
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: MSBuild ()
Version: Master
Hardware: PC Mac OS
: Normal normal
Target Milestone: 2.8.0 (C7)
Assignee: Chris Hamons
URL:
Depends on:
Blocks: 36332
  Show dependency tree
 
Reported: 2015-11-28 15:57 UTC by Aaron Bockover [MSFT]
Modified: 2015-12-15 16:22 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Aaron Bockover [MSFT] 2015-11-28 15:57:54 UTC
It is a big pain to bundle a framework into a Xamarin.Mac app. This should be as easy as dragging a .framework directory into the project, and having all files (with symlinks preserved) copied into Foo.app/Contents/Frameworks.

This would require (I suppose) MSBuild target work, and an accompanying UI/UX/workflow in XS.

Related bug, after this one is solved: bug #36329.
Comment 1 Aaron Bockover [MSFT] 2015-11-28 15:58:53 UTC
Hack in Conservatorio to call out to make to bundle the framework:
https://github.com/abock/conservatorio/blob/master/Conservatorio.Mac/Conservatorio.Mac.csproj#L130
Comment 3 Chris Hamons 2015-12-15 16:22:21 UTC
This should be fixed with LinkWith support (now in master). You still have to hack your binding project to copy in the framework, but that is the same for XI right now. 

https://developer.xamarin.com/guides/ios/advanced_topics/embedded_frameworks/