Hey
When building for the Mac desktop, at the moment I get an amd64 and an
arm64, which is great !!
I assume Universal app builds are not baked yet ?
If there is a reason that Universal is a problem, please let me know.
Maybe I can help...
Also is there singing on the gogio flags for mac builds yet ?
Thanks btw for adding the scaffolds for .app - really helps and works well.
cheers
ged
On Tue, 2 May 2023 at 08:31, Ged Wed <gedw99@gmail.com> wrote:
>> I assume Universal app builds are not baked yet ?> If there is a reason that Universal is a problem, please let me know.> Maybe I can help...>
A proposal for cmd/go was rejected:
https://github.com/golang/go/issues/40698
but I don't see any technical reasons gogio couldn't create universal binaries.
However, are universal builds, ahem, universal? From my experience most
mac software is provided as two download options, one for Intel and one for M*.
Perhaps universal binaries are required for uploading to the mac app store?
> Also is there singing on the gogio flags for mac builds yet ?>
I don't think so, no.
Elias
On Tue, May 2, 2023 at 2:27 PM Elias Naur <mail@eliasnaur.com> wrote:
>> On Tue, 2 May 2023 at 08:31, Ged Wed <gedw99@gmail.com> wrote:> >> > I assume Universal app builds are not baked yet ?> > If there is a reason that Universal is a problem, please let me know.> > Maybe I can help...> >>> A proposal for cmd/go was rejected:>> https://github.com/golang/go/issues/40698>> but I don't see any technical reasons gogio couldn't create universal binaries.>> However, are universal builds, ahem, universal? From my experience most> mac software is provided as two download options, one for Intel and one for M*.> Perhaps universal binaries are required for uploading to the mac app store?
They're common, but not universal. I imagine it would make sense to do
it optionally in gogio. The macOS-provided lipo CLI makes it quite
easy.
On Tue, 2 May 2023 at 21:18, Chris Waldon
<christopher.waldon.dev@gmail.com> wrote:
>> On Tue, May 2, 2023 at 2:27 PM Elias Naur <mail@eliasnaur.com> wrote:> >> > On Tue, 2 May 2023 at 08:31, Ged Wed <gedw99@gmail.com> wrote:> > >> > > I assume Universal app builds are not baked yet ?> > > If there is a reason that Universal is a problem, please let me know.> > > Maybe I can help...> > >> >> > A proposal for cmd/go was rejected:> >> > https://github.com/golang/go/issues/40698> >> > but I don't see any technical reasons gogio couldn't create universal binaries.> >> > However, are universal builds, ahem, universal? From my experience most> > mac software is provided as two download options, one for Intel and one for M*.> > Perhaps universal binaries are required for uploading to the mac app store?>> They're common, but not universal. I imagine it would make sense to do> it optionally in gogio. The macOS-provided lipo CLI makes it quite> easy.
Thanks for the feedback.
I was thinking about it and it might be best to just leave this as it
is for now.
Partly because Windows and Linux also dont do Universal, and so by
leaving it alone it just keeps things in parity if you know what i
mean. So calling this one YAGNI from my POI.
Am now concentrating on signing for desktops in gio and making it easier.