Pod::Spec.new do |s|
  s.name             = 'LucaSdk'
  s.version          = '0.1.0'
  s.summary          = 'LucaSdk'
  s.description      = <<-DESC
                        It's an SDK for Luca.
                       DESC
  s.homepage         = 'https://github.com/344185723@qq.com/LucaSdk'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { '344185723@qq.com' => '344185723@qq.com' }
  s.source           = { :git => 'https://github.com/344185723@qq.com/LucaSdk.git', :tag => s.version.to_s }
  s.pod_target_xcconfig = {
    'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'
  }
  s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
  s.ios.deployment_target = '9.0'
  s.subspec 'Tremor' do |cs|
    cs.resources = "TremorSdk.framework/*.png",'TremorSdk.framework/*.nib'
    cs.vendored_frameworks = 'CommonSdk.framework','TremorSdk.framework'
    cs.frameworks = 'Accelerate'
    cs.libraries = 'c++'
    cs.xcconfig = {
        'OTHER_LDFLAGS' => [
            '$(inherited)',
            '-framework CommonSdk',
            '-framework TremorSdk'
        ]
    }
  end
end