liberate.podspec 1.18 KB

Pod::Spec.new do |s|
    s.name             = 'liberate'
    s.version          = '0.1.0'
    s.summary          = 'A short description of liberate.'

    s.ios.deployment_target = '9.0'
    
    s.description      = <<-DESC
  TODO: Add long description of the pod here.
                         DESC

    s.homepage         = 'https://code.hh-medic.com/dev-client/hhsdk.ios'
    s.license          = { :type => 'MIT', :file => 'LICENSE' }
    s.author           = { 'shmilyshijian@foxmail.com' => 'shmilyshijian@foxmail.com' }
    s.source           = { :git => 'git@code.hh-medic.com:dev-client/hhsdk.ios.git', :tag => s.version }

    s.source_files = 'liberate/Classes/**/*'
    s.public_header_files = 'liberate/Classes/**/*.h'
    s.resources = 'liberate/Resources/*.*'

    s.vendored_frameworks =  'liberate/Vendors/*.framework'

    s.frameworks = 'SystemConfiguration', 'CoreServices', 'AVFoundation', 'CoreTelephony', 'VideoToolbox', 'AudioToolbox', 'CoreMedia', 'Accelerate'
    s.libraries    = 'z', 'sqlite3.0', 'c++', 'stdc++', 'resolv'
    
    s.pod_target_xcconfig = {
       'OTHER_LDFLAGS' => '-ObjC',
       'ENABLE_BITCODE' => 'NO',
       'ARCHS' => ['arm64', 'x86_64']
    }
end