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: custom prefix clang error #12960

Closed
scisci opened this issue Oct 16, 2015 · 2 comments
Closed

x/mobile/cmd/gomobile: custom prefix clang error #12960

scisci opened this issue Oct 16, 2015 · 2 comments

Comments

@scisci
Copy link

scisci commented Oct 16, 2015

When using the -prefix flag on ios, I get a clang error on bind:

Called via

gomobile bind -target=ios -prefix Lib -o some.framework
clang: error: no such file or directory: 'Go{PackageName}.m'
clang: error: no input files

So something in clang is looking for Go{PackageName}, instead of the replaced Lib{PackageName}

@crawshaw
Copy link
Member

cc @hyangah

@rakyll rakyll changed the title x/mobile/bind: custom prefix clang error x/mobile/cmd/gobind: custom prefix clang error Oct 19, 2015
@rakyll rakyll changed the title x/mobile/cmd/gobind: custom prefix clang error x/mobile/cmd/gomobile: custom prefix clang error Oct 19, 2015
@gopherbot
Copy link

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

@golang golang locked and limited conversation to collaborators Oct 24, 2016
imWildCat pushed a commit to imWildCat/go-mobile that referenced this issue Apr 10, 2021
Fixes golang/go#12960.

Change-Id: I97abdc3219e857a83908a360aa619089086795ac
Reviewed-on: https://go-review.googlesource.com/16026
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
imWildCat pushed a commit to imWildCat/go-mobile that referenced this issue Apr 11, 2021
Fixes golang/go#12960.

Change-Id: I97abdc3219e857a83908a360aa619089086795ac
Reviewed-on: https://go-review.googlesource.com/16026
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
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