Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
Right now, these features are disabled in extension projects:
- Dynamic registrar
This means we have slower builds time and large bundles that we could.
Linking is disabled here -https://github.com/xamarin/xamarin-macios/pull/575
Static registrar forced here -https://github.com/xamarin/xamarin-macios/blob/master/tools/mmp/driver.cs#L501
We crash on launch if either is enabled.
This interacts poorly with the QTKit restriction on the Apple Store, making it impossible to ship any extensions on the store.
*** Bug 56126 has been marked as a duplicate of this bug. ***
It's technically possible that Apple implemented extensions in a way that requires the static registrar (if they look for Objective-C classes in the executable before we can run any code).
* Make the linker work somehow.
* Add an AppStore-mode (or the negative, a non-app-store-mode, so that the App Store-mode is the default) to mmp that makes the static registrar generate code that doesn't violate app store rules (such as ignoring any QTKit types, never linking with QTKit.framework, and any other concerns that may come up in the future).
Fixed in https://github.com/xamarin/xamarin-macios/pull/2092
Hello @Chris Hamons,
Can you please provide proper steps or description of this bug for verification, with expected result.
1) Build Xamarin Mac Extension Project
2) Enable Linker and add --registrar:static to your release configuration
3) Run extension and verify it works.
Project Options -> Build -> Mac Build -> Additional mmp arguments
Verified this bug with steps given in comment7# & comment9#
Xamarin.Mac extensions app build & deployed successfully on simulator.
Here is screencast link :
tested on both El-capitan & Sierra , I have attached logs for both.
Please update me if any other scenarios need to be tested for this bug or kindly confirm that if above steps are enough & we are good to marked it as verified.
Created attachment 22580 [details]
Verified on Environment:
Visual Studio Enterprise 2017 for Mac (Preview)
Version 7.1 Preview (7.1 build 1246)