aboutsummaryrefslogtreecommitdiffstats
path: root/build/pod.podspec
blob: 2718522db3746b3564529b5d138a6103466888f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Pod::Spec.new do |spec|
  spec.name         = '{{.Name}}'
  spec.version      = '{{.Version}}'
  spec.license      = { :type => 'GNU Lesser General Public License, Version 3.0' }
  spec.homepage     = 'https://github.com/ethereum/go-ethereum'
  spec.authors      = { {{range .Contributors}}
        '{{.Name}}' => '{{.Email}}',{{end}}
    }
  spec.summary      = 'iOS Ethereum Client'
  spec.source       = { :git => 'https://github.com/ethereum/go-ethereum.git', :commit => '{{.Commit}}' }

    spec.platform = :ios
  spec.ios.deployment_target  = '9.0'
    spec.ios.vendored_frameworks = 'Frameworks/Geth.framework'

    spec.prepare_command = <<-CMD
    curl https://gethstore.blob.core.windows.net/builds/geth-ios-all-{{.Version}}.tar.gz | tar -xvz
    mkdir Frameworks
    mv geth-ios-all-{{.Version}}/Geth.framework Frameworks
    rm geth-ios-all-{{.Version}}
  CMD
end