Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 525 Bytes

build-ios-framework.md

File metadata and controls

7 lines (6 loc) · 525 Bytes

Make sure you have installed Go and relevant iOS development tools before proceeding.

  • Get lnd: go get -d github.com/lightningnetwork/lnd
  • cd src/github.com/lightningnetwork/lnd/
  • Get and init gomobile: go get golang.org/x/tools/cmd/goimports, go get golang.org/x/tools/go/packages, go get golang.org/x/mobile/cmd/gomobile and gomobile init
  • Compile with make ios prefix="1" tags="routerrpc walletrpc signrpc invoicesrpc"
  • Put mobile/build/ios/Lndmobile.framework folder to ios/