This updates examples for the changes in golang.org/cl/334689 for .xcframework files and Mac Catalyst. Depends on golang.org/cl/334689 https://go-review.googlesource.com/c/mobile/+/334689/28/example/bind/ios/README#1 Change-Id: Ice89e7e675c8f190c7040407908f619a7631fd2b GitHub-Last-Rev: 64da8e6cad76f3e0530e36895bbfeacab7439b35 GitHub-Pull-Request: golang/mobile#72 Reviewed-on: https://go-review.googlesource.com/c/mobile/+/350489 Reviewed-by: Changkun Ou <euryugasaki@gmail.com> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> Reviewed-by: Hajime Hoshi <hajimehoshi@gmail.com> Trust: Hyang-Ah Hana Kim <hyangah@gmail.com> Run-TryBot: Hajime Hoshi <hajimehoshi@gmail.com> TryBot-Result: Go Bot <gobot@golang.org>
Ivy iOS App source
This directory contains the source code to the Ivy iOS app.
To build, first create the Mobile.xcframework out of the Go implementation of Ivy. Run:
go install golang.org/x/mobile/cmd/gomobile@latest
go install golang.org/x/mobile/cmd/gobind@latest
to install gomobile
and gobind
. Then:
mkdir work; cd work
go mod init work
go get -d golang.org/x/mobile/bind@latest
go get -d robpike.io/ivy/mobile
gomobile bind -target=ios,iossimulator,maccatalyst,macos robpike.io/ivy/mobile
Place the Mobile.xcframework directory in this directory, and then open ivy.xcodeproj in Xcode.
You have to specify Development Team for code signing certificate in: Project Settings -> Targets -> Signing & Capabilities -> Signing -> Team.