x/mobile: debug symbol for gomobile bind works if running on iOS simulator, but not on actual phone #25704
Labels
FrozenDueToAge
mobile
Android, iOS, and x/mobile
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?Tried both of the following:
go version devel +3363e98371 Mon Apr 23 16:00:55 2018 +0000 darwin/amd64
go version devel +161874da2a Fri Jun 1 21:52:00 2018 +0000 darwin/amd64
Does this issue reproduce with the latest release?
No, latest release 1.10.2 does not have DWARF enabled for darwin/arm64
What operating system and processor architecture are you using (
go env
)?GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/biscottigelato/Library/Caches/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/biscottigelato/gocode"
GORACE=""
GOROOT="/usr/local/opt/go/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/opt/go/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/_6/47d5qynn28j8334nlr23wmnh0000gn/T/go-build592797820=/tmp/go-build -gno-record-gcc-switches -fno-common"
What did you do?
$ gomobile bind -target=ios -v -o ios/hello.framework golang.org/x/mobile/example/bind/hello
What did you expect to see?
What did you see instead?
DWARF symbol for the framework built using gomobile works if running on an iOS simulator, but not on an actual phone. Is there any possible solutions here?
The text was updated successfully, but these errors were encountered: