Skip to content

Commit

Permalink
change back podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
Erichin committed Apr 28, 2018
1 parent 234a5c4 commit c51b95f
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions build/pod.podspec
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
Pod::Spec.new do |spec|
spec.name = 'Geth'
spec.version = '1.8.2'
spec.version = '{{.Version}}'
spec.license = { :type => 'GNU Lesser General Public License, Version 3.0' }
spec.homepage = 'https://github.com/ethereum/go-ethereum'
spec.authors = { 'erichin' => 'erichinbato@gmail.com' }

spec.authors = { {{range .Contributors}}
'{{.Name}}' => '{{.Email}}',{{end}}
}
spec.summary = 'iOS Ethereum Client'
spec.source = { :git => 'https://github.com/ethereum/go-ethereum.git' }
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 = 'bin/Geth.framework'
spec.ios.vendored_frameworks = 'Frameworks/Geth.framework'

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

0 comments on commit c51b95f

Please sign in to comment.