aboutsummaryrefslogblamecommitdiffstats
path: root/build/pod.podspec
blob: fe60f9f6895f834fedf388ce76379d545b5608d6 (plain) (tree)
1
2
3
4
5
6
7
8
9
                       
                            

                                                                                   
                                                                 



                                                   
                                                                                                           





                                                                  
                                                                                      
                    

                                             

     
Pod::Spec.new do |spec|
  spec.name         = 'Geth'
  spec.version      = '{{.Version}}'
  spec.license      = { :type => 'GNU Lesser General Public License, Version 3.0' }
  spec.homepage     = 'https://github.com/dexon-foundation/dexon'
  spec.authors      = { {{range .Contributors}}
        '{{.Name}}' => '{{.Email}}',{{end}}
    }
  spec.summary      = 'iOS Ethereum Client'
  spec.source       = { :git => 'https://github.com/dexon-foundation/dexon.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/{{.Archive}}.tar.gz | tar -xvz
    mkdir Frameworks
    mv {{.Archive}}/Geth.framework Frameworks
    rm -rf {{.Archive}}
  CMD
end