diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-11-09 17:13:37 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-11-14 23:56:58 +0800 |
commit | 322502b441c6137b2945131f8e3dda1bb3f8d6b3 (patch) | |
tree | 00f963ea6983f15a554babb54646c8744af978f8 /build/pod.podspec | |
parent | b7dfd333c5ac5caf4278e2557503dc4fe4eb46c9 (diff) | |
download | dexon-322502b441c6137b2945131f8e3dda1bb3f8d6b3.tar.gz dexon-322502b441c6137b2945131f8e3dda1bb3f8d6b3.tar.zst dexon-322502b441c6137b2945131f8e3dda1bb3f8d6b3.zip |
build: iOS XCode framework build and upload
Diffstat (limited to 'build/pod.podspec')
-rw-r--r-- | build/pod.podspec | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/build/pod.podspec b/build/pod.podspec new file mode 100644 index 000000000..2718522db --- /dev/null +++ b/build/pod.podspec @@ -0,0 +1,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 |