Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
x/mobile/bind/testdata/testpkg: Readasset() fails in ios #33362
What version of Go are you using (
All I have did are just run 'gomobile bind -target=ios golang.org/x/mobile/bind/testdata/testpkg' . And then drag the 'Testpkg.Framework' into Xcode.
However, I run 'gomobile bind -target=android golang.org/x/mobile/bind/testdata/testpkg' and it work in android.
It seem that 'golang.org/x/mobile/cmd/gomobile/bind_iosapp.go' does not handle the assets subdirectory at all. In contrast, 'golang.org/x/mobile/cmd/gomobile/bind_androidapp.go' does handle it.