-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/mobile: gomobile bind with go1.23 no exported names in the package #69612
Comments
2me2 was originally a different name i just find/replaced it so you can assume where you see 2me2 it could have been "asdf" or something else. Just in case someone points out gomodule name cannot start with a number (the original didn't). |
This is me, and this was my misundertanding: I found a module name only with a number worked https://go.dev/play/p/FfZKGZu-nQn |
Just because I'm curious if maybe some code wasn't expecting the ".0" (I think that's new-ish) maybe try with 1.23.1. That's a very long shot, though. |
I've tried with 1.23.1 and same issue. It works if I do 1.22.7 for example. |
Go version
go version go1.23.0.darwin-amd64
Output of
go env
in your module/workspace:What did you do?
go install golang.org/x/mobile/cmd/gomobile@latest
gomobile init
go get golang.org/x/mobile/cmd/gomobile@latest
gomobile bind -target ios -x ./mobile
inside ./mobile is a file mobile.go that has the following:
go.mod specifically specifies go1.23.0
What did you see happen?
What did you expect to see?
Expected to see everything work fine without the no exported names in the package errors. It works just fine if in go.mod I change the version to 1.22.x. Only seeing this issue in 1.23.x
The text was updated successfully, but these errors were encountered: