examples: Add iOS explanation

This commit is contained in:
Hajime Hoshi 2018-04-30 19:49:02 +09:00
parent 1d70ee7988
commit 342551da8d

View File

@ -21,3 +21,11 @@ Install [gomobile](https://godoc.org/golang.org/x/mobile/cmd/gomobile) first.
```sh
gomobile install -tags=example github.com/hajimehoshi/ebiten/examples/rotate
```
## iOS
```sh
gomobile build -target=ios -tags=example -work github.com/hajimehoshi/ebiten/examples/rotate
```
Then, open the `WORK` directory, open `main.xcodeproj`, add signing, and run the project.