-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
x/mobile/cmd/gomobile: gomobile build fails for iOS targets with Go 1.14 #36665
Comments
Sorry that I couldn't follow up - my mac was completely busted at this moment. |
As I commented at https://go-review.googlesource.com/c/mobile/+/214957/2#message-aa227544df399d0338b67b6718f00754497c6d33, the use of 'nm' command is suspicious. I thought the binary format was changed as of Go 1.14 (@eliasnaur, is that correct?). To check the import, could we use go-list or go/packages instead? |
there is a mention of changes in symbol name in the release note, but not sure if that's relevant. I couldn't reproduce the problem and nmpkgs includes the app package in my case. maybe I am calling a wrong go command? What's in the The use of |
Go 1.14 is not supported by now. Does this issue apply to newer Go versions too? If it's just 1.14, we can close it, otherwise update it accordingly. |
I think so. I'll test this later. |
Oh, apparently this issue doesn't happen with Go 1.16 and newer. Let me close this. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Tried to use gomobile-build for iOS with Go 1.14 (beta1).
See https://go-review.googlesource.com/c/mobile/+/214957
What did you expect to see?
Building succeeded.
What did you see instead?
The symbol analyzing depends on
as
command. I think we should replace it with go/packages or something instead.CC @hyangah @eliasnaur
The text was updated successfully, but these errors were encountered: