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/cmd/gomobile: bind can't find import for -target=ios #13670

Closed
scisci opened this issue Dec 18, 2015 · 1 comment
Closed

x/mobile/cmd/gomobile: bind can't find import for -target=ios #13670

scisci opened this issue Dec 18, 2015 · 1 comment

Comments

@scisci
Copy link

scisci commented Dec 18, 2015

I just updated to the latest gomobile

gomobile version +a91f1aa Thu Dec 17 17:59:11 2015 +0000 (android,ios); androidSDK=

and am on go version: go1.5.2 darwin/amd64

Now, whenever I run go bind:
gomobile bind -target=ios -i -v -o test.framework github.com/scisci/test-lib/test

I get:

write /var/folders/mr/3xqmfb0d2cxcck1vlkrj4fp80000gn/T/gomobile-work-546399877/fakegopath/pkg/darwin_arm/github.com/scisci/test-lib/test.a
gomobile: can't find import: github.com/scisci/test-lib/test

EDIT:
After rolling back to versions e154aff74e5e2f1ae9b6f3e86106d3c86f514ee9 the error went away. So I think it may have to do with the 'multiple packages' commit.

@hyangah hyangah added this to the Unreleased milestone Dec 18, 2015
@hyangah hyangah changed the title x/mobile/bind can't find import x/mobile/cmd/gomobile: bind can't find import for -target=ios Dec 18, 2015
@gopherbot
Copy link

CL https://golang.org/cl/18042 mentions this issue.

@golang golang locked and limited conversation to collaborators Dec 29, 2016
imWildCat pushed a commit to imWildCat/go-mobile that referenced this issue Apr 10, 2021
When -target=ios, GOOS must be 'darwin'.

Fixes golang/go#13670

Change-Id: Ie20db14cf24d886e13d9fe2e70caa0308790ad87
Reviewed-on: https://go-review.googlesource.com/18042
Reviewed-by: David Crawshaw <crawshaw@golang.org>
imWildCat pushed a commit to imWildCat/go-mobile that referenced this issue Apr 11, 2021
When -target=ios, GOOS must be 'darwin'.

Fixes golang/go#13670

Change-Id: Ie20db14cf24d886e13d9fe2e70caa0308790ad87
Reviewed-on: https://go-review.googlesource.com/18042
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants