Bug 15041 - Allow specifying Xcode path via MSBuild variable
Summary: Allow specifying Xcode path via MSBuild variable
Alias: None
Product: iOS
Classification: Xamarin
Component: MSBuild ()
Version: XI 8.0.0
Hardware: PC Mac OS
: Low enhancement
Target Milestone: Future Cycle (TBD)
Assignee: Vincent Dondain [MSFT]
Depends on:
Reported: 2013-09-27 13:24 UTC by Jackson Harper
Modified: 2017-10-06 08:41 UTC (History)
5 users (show)

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 for Bug 15041 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description Jackson Harper 2013-09-27 13:24:22 UTC
It would be nice if you could override the XCode location on a per project basis. This would be really useful on CI servers, or when supporting multiple versions of an app which require building with older versions of XCode.
Comment 1 Mikayla Hutchinson [MSFT] 2013-09-27 14:26:07 UTC
I don't think we'll add UI for this, but it should be possible to do it via MSBuild properties when we move to MSBuild for iOS projects.
Comment 2 Jackson Harper 2013-09-27 14:32:17 UTC
Thanks Michael, non-UI would be perfect for my use cases.
Comment 3 Mikayla Hutchinson [MSFT] 2015-09-24 12:35:24 UTC
This should be relatively straightforward to implement now we've moved to MSBuild/xbuild.
Comment 4 Sebastien Pouliot 2017-01-03 14:26:43 UTC
@Vincent, can you check if this is already possible ? and if not add it to your todo, thanks!
Comment 5 Rolf Bjarne Kvinge [MSFT] 2017-10-06 08:38:52 UTC
This should also support using different Xcode locations for different projects in the same solution (see bug #59756)
Comment 6 Rolf Bjarne Kvinge [MSFT] 2017-10-06 08:41:19 UTC
There are also some useful implementation notes in this PR: https://github.com/xamarin/xamarin-macios/pull/2781