Bug 8843 - The addin does not provide --sdkroot=PATH to mmp
Summary: The addin does not provide --sdkroot=PATH to mmp
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Mac Add-in ()
Version: 4.0.8
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Aaron Bockover [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2012-12-07 08:45 UTC by Sebastien Pouliot
Modified: 2013-06-04 11:53 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 Sebastien Pouliot 2012-12-07 08:45:48 UTC
The addin does not provide --sdkroot when calling mmp. Without this value mmp will, by default, look at "well known" locations* for Xcode. 

* /Application/Xcode.app
* /Developer/

However it you want to use a Xcode from a custom location, like a .dmg (useful to test beta/preview releases of Xcode), then it won't be picked up. Also if your lone Xcode installation is not in the above directories then the build will fail.

To solve this (for MT) MonoDevelop allows customers to set a specific location for "Apple SDK" (MonoTouch's mtouch uses this). This same value should be used by the XamMac addin (copy/paste code from MT addin).