-
Notifications
You must be signed in to change notification settings - Fork 18k
x/mobile: Iphone 4s supported ? #16966
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
Comments
you need to disable bitcode as Go archives produced by gobind
doesn't contain bitcode.
|
thanks @minux |
@minux hello, if disabling bitcode is a required step for deploying gomobile bindings on all real iOS devices why there is no information about it nowhere in readme, wiki, godoc etc? I was unfamilar with iOS ecosystem before and actually it was a bit unexpected when my lib was almost ready and I started to test it on actual device. |
@FZambia i hit this problem too. I guess its nto there because its only relevent for older IOS devices ? |
@joeblew99 I don't think this is related to old devices only - because Apple introduced bitcode not so long ago (end of 2015) and it's already required for watchOS and tvOS. |
definitely my mistake then. Maybe i got it the wrong way round, but thanks
for pointing it out.
…On Sat, Apr 15, 2017 at 4:11 PM Alexandr Emelin ***@***.***> wrote:
I guess its nto there because its only relevent for older IOS devices ?
@joeblew99 <https://github.com/joeblew99> I don't think this is related
to old devices only - because Apple introduced bitcode not so long ago (end
of 2015) and it's already required for watchOS and tvOS.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#16966 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ALcac1NDvhFofEC5RqR0wLJkEycDyvonks5rwNAfgaJpZM4Jzq-f>
.
|
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?1.7
What operating system and processor architecture are you using (
go env
)?GOARCH="amd64"
GOBIN="/Users/apple/workspace/go/bin"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/apple/workspace/go"
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/wp/ff6sz9qs6g71jnm12nj2kbyw0000gp/T/go-build614371786=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
What did you do?
I am running the standard example at:
https://github.com/golang/mobile/tree/master/example/bind
What did you expect to see?
running in SIM and actual IPhone 4s
What did you see instead?
The text was updated successfully, but these errors were encountered: