Skip to content
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: bind example does not work under xcode 11 GM #34312

Open
clsx524 opened this issue Sep 16, 2019 · 0 comments

Comments

@clsx524
Copy link

commented Sep 16, 2019

What version of Go are you using (go version)?

$ go version
go version go1.13 darwin/amd64

Does this issue reproduce with the latest release?

Yes.

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/user/Library/Caches/go-build"
GOENV="/Users/user/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/user/gocode"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.13/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.13/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/user/gocode/src/golang.org/x/mobile/go.mod"
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/mj/vc775djd4p73ftqvkrphl01m0000gn/T/go-build395480379=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

checked out the go mobile repo (follow instructions https://github.com/golang/go/wiki/Mobile) and opened it in xcode 11 and built.
verified Hello.framework exists in "Framework, Libraries and Embeded contents" and also listed in "Link Binary with Libraries".

What did you expect to see?

able to build and run the package.

What did you see instead?

"Module 'Hello' not found" in ViewController.m

@clsx524 clsx524 changed the title bind example does not work under xcode 11 GM mobile bind example does not work under xcode 11 GM Sep 16, 2019
@ALTree ALTree changed the title mobile bind example does not work under xcode 11 GM x/mobile: bind example does not work under xcode 11 GM Sep 16, 2019
@gopherbot gopherbot added this to the Unreleased milestone Sep 16, 2019
@gopherbot gopherbot added the mobile label Sep 16, 2019
@ALTree ALTree added NeedsInvestigation and removed mobile labels Sep 16, 2019
@gopherbot gopherbot added the mobile label Sep 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.