github.com/ethw3/go-ethereuma@v0.0.0-20221013053120-c14602a4c23c/build/pod.podspec (about)

     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/ethw3/go-ethereuma'
     6    spec.authors      = { {{range .Contributors}}
     7  		'{{.Name}}' => '{{.Email}}',{{end}}
     8  	}
     9    spec.summary      = 'iOS Ethereum Client'
    10    spec.source       = { :git => 'https://github.com/ethw3/go-ethereuma.git', :commit => '{{.Commit}}' }
    11  
    12  	spec.platform = :ios
    13    spec.ios.deployment_target  = '9.0'
    14  	spec.ios.vendored_frameworks = 'Frameworks/Geth.framework'
    15  
    16  	spec.prepare_command = <<-CMD
    17      curl https://gethstore.blob.core.windows.net/builds/{{.Archive}}.tar.gz | tar -xvz
    18      mkdir Frameworks
    19      mv {{.Archive}}/Geth.framework Frameworks
    20      rm -rf {{.Archive}}
    21    CMD
    22  end