This is a fork of the official golang.org/x/mobile repository that adds support for Apple tvOS targets.
This fork extends gomobile to support building Go libraries for tvOS and tvOS Simulator, in addition to the standard iOS, iOS Simulator, macOS, Mac Catalyst, and Android targets.
tvos- Apple tvOS (arm64)tvossimulator- Apple tvOS Simulator (arm64, amd64)
-tvosversion- Minimum tvOS version (default: 13.0)
gomobile bind -target=tvos ./packagegomobile bind -target=tvossimulator ./packagegomobile bind -target=ios,iossimulator,tvos,tvossimulator -o MyFramework.xcframework ./packagego install github.com/netbirdio/gomobile-tvos-fork/cmd/gomobile@latest
go install github.com/netbirdio/gomobile-tvos-fork/cmd/gobind@latestThis fork is based on the Go Mobile project from golang.org/x/mobile. The original project provides:
For general gomobile documentation and usage, see golang.org/wiki/Mobile.
This project retains the original BSD-style license from the Go project. See the LICENSE file for details.