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.
MMP gives the following error"
MMP: error MM5306: Missing dependencies. Please install Xcode 'Command-Line Tools' component
1. I had to google how to install them
2. I ran `xcode-select --install`
3. I still got MM5306
4. I ran `xcode-select --install` again, and got "error: command line tools are already installed, use "Software Update" to install updates"
5. I still got MM5306. Clearly, the message is wrong.
6. After asking around, we eventually found "Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo." in the logs, and discovered that the solution was to open xcode.
So there are two problems with this error:
#1 It's not actionable, it requires googling. A simple "please run `xcode-select --install`" would be GREAT.
#2 In some cases it's wrong. Again, a "Please open Xcode and agree to the license agreement" message would have been HUGELY helpful.
This error completely sucks. I don't disagree at all. Let me look at making it more reasonable.
Maybe something like:
MMP: error MM5306: Missing dependencies. Please verify that xcode-select points to a valid Xcode, that you have agreed to the license agreement in Xcode, and that you have installed the 'Xcode Command-Line Tools' component.
How tricky would it be to split that into three errors?
You are right. We could look for this common / easy case and give a better error. I'll take a look when we look at this bug.
Also getting this error for a completely unrelated underlying reason:
mmp-cache/main.m:10:2: error: use of undeclared identifier 'xamarin_new_refcount'
Fixed error message for when the issue is due to the xcode license agreement. We'll add further error messages as we find other cases where this error shows up for other reasons. On master / d4b53eb05e096bfcfe87a4159c3c645cfdee99fc