UTM icon indicating copy to clipboard operation
UTM copied to clipboard

WIP : Improving macos build step docs

Open PicoCreator opened this issue 3 years ago • 2 comments
trafficstars

While trying to work on : https://github.com/utmapp/UTM/pull/3792

I find that the build docs to be insufficient for my rather new macOS Monterey build (v12.3) So tried to pick at it, between the 1 hour+ build time of github actions (my only way of validating my code is somewhat valid).

Generally this was due to missing python modules, which installing pip3 on homebrew only makes it worse. The most progress i had was as what I have modified, but it fails at the spice project build step with the following

Screenshot 2022-04-07 at 10 18 21 PM

On further investigation, this seems like a possibly known issue for spice which is covered and resolved here

  • https://bugs.gentoo.org/820074
  • https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58996c17fc14caab6f1a678b5d326be0e76b94a4

So as it seems i might still be stuck depending on github actions to validate builds >_<"

Any feedback on the missing steps would be appreciated


Alternatively, how do I use an .xarchive (built on github) to build and run the .app (on a macbook) : without a paid apple developer account.

PicoCreator avatar Apr 07 '22 14:04 PicoCreator

Ah sorry about that. It’s literally only an issue since the last few commits so I’ve never updated the docs. I was hoping to have found a better solution than the hack I put for the GitHub actions build.

osy avatar Apr 08 '22 15:04 osy

@osy - no worries, im trying to update the docs, for things i find confusing.

Did manage to get a working sysRoot build downloaded from github, so will see into making those steps clearer.

Also i have seen several project branch for out a subproject specifically for just providing releases for dependencies via github releases (and automating it via CLI, without needing the login, etc).

But I understand completely avoiding that route, and keeping everything in one place for now (less worry about keeping things in sync)

PicoCreator avatar Apr 11 '22 15:04 PicoCreator