blob: 908dd616a6c8b81264546ce5bab0ccd5d03cc69b [file] [log] [blame]
1. Use gomobile bind to bind the package.
The following command will create an XCFramework in the current directory.
$ gomobile bind -target=ios
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.xcframework that gomobile bind command created
in Step 1.
3. Drag-and-drop Hello.xcframework from the desktop to the project navigation window.
This will automatically include the Hello.xcframework into the project.
4. Build.