Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Mobile Agent build issue #2339

Closed
llbartekll opened this issue Nov 20, 2020 · 5 comments
Closed

Mobile Agent build issue #2339

llbartekll opened this issue Nov 20, 2020 · 5 comments
Assignees

Comments

@llbartekll
Copy link

Hi,
I have no experience with go so maybe it is something obvious

What I'm trying to do

I am trying to build mobile library as described here: https://github.com/hyperledger/aries-framework-go/tree/master/cmd/aries-agent-mobile

Expected result

successfully build mobile library

Actual result

I am getting error after calling make all

 Installing dependencies              

gomobile init -v
make: gomobile: No such file or directory
make:  [dependencies] Error 1
@soluchok
Copy link
Contributor

@llbartekll Could please install gomobile. Just execute go get golang.org/x/mobile/cmd/gomobile command in your terminal.

@llbartekll
Copy link
Author

@soluchok thank you for help. It was 1st of the reasons. later I had to export path so:
go get golang.org/x/mobile/cmd/gomobile
export PATH=$PATH:$HOME/go/bin
finally android bindings were created but I am still not able to make ios-bindings. I am getting error:

...
github.com/hyperledger/aries-framework-go/pkg/crypto/tinkcrypto/primitive/composite/keyio
github.com/hyperledger/aries-framework-go/pkg/crypto/tinkcrypto/primitive/composite/ecdh
github.com/hyperledger/aries-framework-go/pkg/crypto/tinkcrypto
gomobile: darwin-arm64: go build -tags ios -v -ldflags -s -w -buildmode=c-archive -o /var/folders/7d/64g9s7d53ks0s2pj3rmrp0d40000gn/T/gomobile-work-357594089/AriesAgent-arm64.a ./gobind failed: exit status 1

make: *** [bindings-ios] Error 1

@soluchok
Copy link
Contributor

@llbartekll the fix was merged. Could you please confirm that the issue is resolved?

@llbartekll
Copy link
Author

@soluchok yes, It works, thank you :)

@soluchok
Copy link
Contributor

soluchok commented Dec 1, 2020

@llbartekll I will close this issue. Thanks for participating.

@soluchok soluchok closed this as completed Dec 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants