I think most people (including myself) use brew nowadays, which installs to /usr/local/bin so the instructions work.

I was wondering if we should remove the MacPorts instructions?


--

Rebecca Cran


On 7/20/21 11:37 PM, Andrew Fish wrote:
These Xcode instructions look good to me in general. Thanks for doing this I usually do things following a non public path. 

I think to make these instructions work you need to update *_XCODE5_*_MTOC_PATH

By default, this will install mtoc at /opt/local/bin/mtoc.
https://github.com/tianocore/edk2/blob/master/BaseTools/Conf/tools_def.template#L2957

*_XCODE5_*_MTOC_PATH = /usr/local/bin/mtoc

We could change this to match the brew default location, I think this location is way out of date. I think the other things get fixed by the path variables. 

Thanks,

Andrew Fish



On May 25, 2021, at 5:36 AM, Rebecca Cran <rebecca@bsdio.com> wrote:

On 5/25/21 6:21 AM, Laszlo Ersek wrote:

The idea is to use the wiki of any one of your projects on github.com --
most fittingly, your edk2 fork's wiki.

The URL to clone the "real" wiki repo from is:

  git://github.com/tianocore/tianocore.github.io.wiki

And the repo URL of the wiki of your edk2 fork *should be*:

  git@github.com:bcran/edk2.wiki.git

I'm not sure if you first need to enable the wiki function, for your
edk2 fork, on github.com. Maybe that's hidden somewhere between the
project (fork) settings. Either way, once your wiki repo exists, just
force-push to it whatever your local clone contains. And, only the
"master" branch matters for rendering, AFAICT.


Ah, got it - thanks.

The updated Xcode.md page is at https://github.com/bcran/edk2/wiki/Xcode


--
Rebecca Cran