mitchellh / gox

A dead simple, no frills Go cross compile tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Go 1.16 darwin/arm

tutacat opened this issue · comments

Does it not work? It should, given that gox does support it. Please note if you're using darwin/arm64, that is no longer for iOS, if you're building for iOS you need to use ios/arm64 now, which is currently unsupported by this gox.

{"darwin", "arm", false},

On before go version 1.16:

darwin/amd64 means macOS
darwin/arm64 means iOS
With the introduction of Apple Silicon (a.k.a. the M1 chip), on go version 1.16 or later:

darwin/amd64 means macOS with Intel CPU
darwin/arm64 updates to mean macOS with Apple Silicon CPU
ios/amd64 is the new port for iOS Simulator on macOS with Intel CPU
ios/arm64 is the new port for iOS
Reference: https://golang.org/doc/go1.16#darwin 

Copied from https://gist.github.com/asukakenji/f15ba7e588ac42795f421b48b8aede63