2
0
mirror of synced 2025-02-24 15:28:28 +00:00
Elias Naur 2f6753be0d example/bind/ios/bind.xcodeproj: disable bitcode in Xcode settings
Go compiles to machine code, not bitcode and Xcode will complain if
the bitcode setting is left enabled (the default).

Change-Id: If2caca0b70419c2901b5bfc159669307be39f964
Reviewed-on: https://go-review.googlesource.com/72670
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2017-10-23 18:25:25 +00:00
..

1. Use gomobile bind to bind the golang.org/x/mobile/example/bind/hello package.
   The following command will create a static framework bundle in the current
   directory.

  $ gomobile bind -target=ios golang.org/x/mobile/example/bind/hello

2. Open the Xcode project by double clicking on bind.xcodeproj.
   The project will not build - ViewController.m calls a function from the hello
   package so requires the hello.framework the gomobild bind command created
   in Step 1.

3. Drag-and-drop the hello.framework from the desktop to the project navigation window.
   This will automatically include the hello framework into the project.

4. Build.