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

gomobile build failed on iOS #951

Closed
hajimehoshi opened this issue Oct 6, 2019 · 5 comments
Closed

gomobile build failed on iOS #951

hajimehoshi opened this issue Oct 6, 2019 · 5 comments

Comments

@hajimehoshi
Copy link
Owner

$ gomobile build -target=ios -bundleid=com.hajimehoshi.testsprites -tags=example ./examples/sprites
gomobile: /usr/local/go/bin/go build -tags example ios -ldflags=-w -o=/var/folders/ht/ky_bwgzs4bd5z1hh02k34x_h0000gn/T/gomobile-work-656725846/arm github.com/hajimehoshi/ebiten/examples/sprites failed: exit status 2
# golang.org/x/mobile/app
darwin_ios.m:139:77: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
# github.com/hajimehoshi/ebiten/examples/sprites
/usr/local/go/pkg/tool/darwin_amd64/link: running /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed: exit status 1
ld: -headerpad and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together
clang: error: linker command failed with exit code 1 (use -v to see invocation)
$ xcodebuild -version
Xcode 10.3
Build version 10G8
@hajimehoshi hajimehoshi added this to the v1.10.0 milestone Oct 6, 2019
@hajimehoshi
Copy link
Owner Author

I started to think that nobody uses gomobile build with Ebiten for iOS 🤔

@hajimehoshi
Copy link
Owner Author

See golang/go#32963

@hajimehoshi hajimehoshi removed this from the v1.10.0 milestone Oct 6, 2019
@sedyh
Copy link
Contributor

sedyh commented Nov 25, 2020

Hello, are there any fixes for ebitenmobile with go > 1.13? Example build is still not working.

@hajimehoshi
Copy link
Owner Author

No fix so far. This is an issue in gomobile itself. golang/go#36665

@hajimehoshi
Copy link
Owner Author

This should be already solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants