pod.podspec 818 B

1234567891011121314151617181920212223
  1. Pod::Spec.new do |spec|
  2. spec.name = 'Geth'
  3. spec.version = '{{.Version}}'
  4. spec.license = { :type => 'GNU Lesser General Public License, Version 3.0' }
  5. spec.homepage = 'https://github.com/ethereum/go-ethereum'
  6. spec.authors = { {{range .Contributors}}
  7. '{{.Name}}' => '{{.Email}}',{{end}}
  8. }
  9. spec.summary = 'iOS Ethereum Client'
  10. spec.source = { :git => 'https://github.com/ethereum/go-ethereum.git', :commit => '{{.Commit}}' }
  11. spec.platform = :ios
  12. spec.ios.deployment_target = '9.0'
  13. spec.ios.vendored_frameworks = 'Frameworks/Geth.framework'
  14. spec.prepare_command = <<-CMD
  15. curl https://gethstore.blob.core.windows.net/builds/{{.Archive}}.tar.gz | tar -xvz
  16. mkdir Frameworks
  17. mv {{.Archive}}/Geth.framework Frameworks
  18. rm -rf {{.Archive}}
  19. CMD
  20. end