AdrianaPineda / FrameworkGOMobileSample

Umbrella framework that includes a gomobile library
3 stars 1 forks source link

Not able to download - Sample.framework and Sample.h #4

Open sunitadoubleeye opened 7 years ago

sunitadoubleeye commented 7 years ago

I have tried both ways using ./copy-sample.sh getting admin$ ./copy-sample.sh -bash: ./copy-sample.sh: /bin/bash^M: bad interpreter: No such file or director

using MakeFile getting /Downloads/gomobile-sample-master/Makefile ; exit; /Users//Downloads/gomobile-sample-master/Makefile: line 1: test:: command not found /Users//Downloads/gomobile-sample-master/Makefile: line 2: go: command not found /Users//Downloads/gomobile-sample-master/Makefile: line 4: ios:: command not found /Users//Downloads/gomobile-sample-master/Makefile: line 5: gomobile: command not found /Users//Downloads/gomobile-sample-master/Makefile: line 7: deps:: command not found /Users//Downloads/gomobile-sample-master/Makefile: line 8: glide: command not found logout Saving session... ...copying shared history... ...saving history...truncating history files... ...completed.

[Process completed]

sunitadoubleeye commented 7 years ago

Please reply its urgent.

AdrianaPineda commented 7 years ago

@sunitadoubleeye Im getting the same error in the script, but have you tried these instructions?

  1. go get -v github.com/dcu/gomobile-sample
  2. Go to the 'gomobile-sample' project
  3. Execute 'make ios'
  4. Add the 'Sample.framework' inside the root of the project 'FrameworkGOMobileSample'

Meanwhile I'll check whats the issue with the script

sunitadoubleeye commented 7 years ago

@AdrianaPineda Thanks for the reply. Yes I have followed above said commands as well , but 'make ios', is also giving me errors. It would be great , if you can guide me in right direction as I am completely new to "Umbrella Framework" development. Also, sorry for repeating again, I am stuck here and need some urgent assistance.

AdrianaPineda commented 7 years ago

@sunitadoubleeye i tried again but Im getting no errors when running make ios. I have this version of go: go1.7.4 Additionally, are you in the right directory? Mine is: Documents/go_workspace/src/github.com/dcu/gomobile-sample