Sha256: 30f782c3a8d9f84f94d50e6a080acca61746e7c0c14a990d3f87ce9487e18ac3

Contents?: true

Size: 1.07 KB

Versions: 3

Compression:

Stored size: 1.07 KB

Contents

Pod::Spec.new do |s|
  s.name             = '#{plugin_name}'
  s.version          = '0.1.0'
  s.summary          = 'Facebook plugin for GoNative.'

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://github.com/gonativeio/#{plugin_name}'
  s.license          = { :type => 'Proprietary', :file => 'LICENSE' }
  s.author           = { 'hhunaid' => 'hhunaid@gmail.com' }
  s.source           = { :git => 'git@github.com:gonativeio/#{repo_name}.git', :tag => s.version.to_s }

  s.ios.deployment_target = '10.0'
  s.swift_versions = '5.0'
  s.preserve_paths = ['plist/*.{plist}', 'Extensions/**/*']

  s.subspec 'Source' do |cs|
    cs.source_files = '#{plugin_name}/Classes/**/*.{h,m,swift}'
    cs.resource_bundle = { '#{plugin_name}JS' => 'js/*.{js,json}' }
  end

  s.subspec 'Binary' do |cs|
    cs.ios.vendored_frameworks = 'XCFramework/#{plugin_name}.xcframework'
    cs.resource_bundle = { '#{plugin_name}JS' => 'js/*.{js,json}' }
  end

  s.default_subspec = 'Source'
  s.dependency 'GoNativeCore'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gonative-cli-0.9.2 templates/plugins/ios/common/PLUGIN_NAME.podspec.tpl
gonative-cli-0.9.1 templates/plugins/ios/common/PLUGIN_NAME.podspec.tpl
gonative-cli-0.9.0 templates/plugins/ios/common/PLUGIN_NAME.podspec.tpl