gomobile init
gomobile bind -target=ios/arm64
e: /Users/zeeshanwaheed/go/bin/gobind -lang=go,objc -outdir=/var/folders/1h/mv3fp12179z0gv17y6s342v40000gn/T/gomobile-work-662503358/ios -tags=ios . failed: exit status 1
no exported names in the package "."
unable to import bind: no Go package in golang.org/x/mobile/bind
unable to import bind: no Go package in golang.org/x/mobile/bind
no exported names in the package "."
no exported names in the package "."
no exported names in the package "."
unable to import bind/objc: no Go package in golang.org/x/mobile/bind/objc
If you encounter the above issue
- name: Install Gomobile
run: |
go install golang.org/x/mobile/cmd/gomobile@latest
go install golang.org/x/mobile/cmd/gobind@latest
go get golang.org/x/mobile/cmd/gobind
go get golang.org/x/mobile/cmd/gomobile
gomobile init
env:
GOPROXY: <https://proxy.golang.org>,direct
GO111MODULE: "on"