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: reverse bindings for iOS "invalid source position: <scratch" #19086
Comments
@eliasnaur Let me know if there is anything I can do to help with this. I'm working on getting set up to be a contributor. |
I failed to reproduce this. I put the content of your gist into $GOPATH/src/gomobile19086/goreverse.go and ran gomobile bind -target ios from the $GOPATH/src/gomobile19086 directory, which resulted in a Goreverse.framework. I'm running macOS 10.11.6 with Xcode 8.0. Please try |
Thanks I'll test again but this was reproduced for me on 2 different Macs.
Neither one has been upgraded to Sierra, so I suspect that to be a
variable.
…On Feb 21, 2017 11:32 AM, "Elias Naur" ***@***.***> wrote:
I failed to reproduce this. I put the content of your gist into
$GOPATH/src/gomobile19086/goreverse.go and ran gomobile bind -target ios
from the $GOPATH/src/gomobile19086 directory, which resulted in a
Goreverse.framework. I'm running macOS 10.11.6 with Xcode 8.0.
Please try go get -u golang.org/x/mobile/... and then go install
golang.org/x/mobile/cmd/... before trying again. If possible, try Go 1.8
as well. Thank you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#19086 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AMTVXVABim6yWNQTZ_q69sDdGFFpB0FEks5rex-OgaJpZM4MA1k6>
.
--
The information contained in this message and any attachments is intended only
for the use of the individual or entity to which it is addressed, and may
contain information that is privileged, confidential and exempt from disclosure
under applicable law. If you have received this message in error, you are
prohibited from copying, distributing, or using the information. Please
contact the sender immediately by return e-mail and delete the original
message. ID442
|
Still occurs after an update to Go version 1.8 on OS X 10.11.5 |
@eliasnaur After updating to sierra and Xcode 8.2.1 this error is gone. |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.7.5 darwin/amd64
gomobile version +60b0aaa Tue Jan 31 20:25:16 2017 +0000 (android,ios)
What operating system and processor architecture are you using (
go env
)?GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/cmanus/code"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/hg/0q7ssn096673q40j5__9lvr40000gp/T/go-build466990415=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
What did you do?
Ran gomobile bind -target ios
Directory contains single file see gist
https://gist.github.com/cmanus/fbd91968eddaf660db02acfb62d545e3
What did you expect to see?
Sucessful creation of the ios Framework
What did you see instead?
gomobile: Foundation: invalid source position: "<scratch"
mentioning @eliasnaur
The text was updated successfully, but these errors were encountered: