|
| 1 | +Pod::Spec.new do |s| |
| 2 | + s.name = 'FirebaseMLModelDownloader' |
| 3 | + s.version = '7.0.0' |
| 4 | + s.summary = 'Firebase ML Model Downloader' |
| 5 | + |
| 6 | + s.description = <<-DESC |
| 7 | + This is the new ML Model Downloader CocoaPod. |
| 8 | + DESC |
| 9 | + |
| 10 | + s.homepage = 'https://firebase.google.com' |
| 11 | + s.license = { :type => 'Apache', :file => 'LICENSE' } |
| 12 | + s.authors = 'Google, Inc.' |
| 13 | + |
| 14 | + s.source = { |
| 15 | + :git => 'https://github.com/firebase/firebase-ios-sdk.git', |
| 16 | + :tag => 'MLModelDownloader-' + s.version.to_s |
| 17 | + } |
| 18 | + s.social_media_url = 'https://twitter.com/Firebase' |
| 19 | + s.swift_version = '5.0' |
| 20 | + s.ios.deployment_target = '10.0' |
| 21 | + s.osx.deployment_target = '10.12' |
| 22 | + s.tvos.deployment_target = '10.0' |
| 23 | + s.watchos.deployment_target = '6.0' |
| 24 | + |
| 25 | + s.cocoapods_version = '>= 1.4.0' |
| 26 | + s.static_framework = true |
| 27 | + s.prefix_header_file = false |
| 28 | + |
| 29 | + s.source_files = [ |
| 30 | + 'FirebaseMLModelDownloader/Sources/**/*.swift', |
| 31 | + ] |
| 32 | + |
| 33 | + s.framework = 'Foundation' |
| 34 | + s.dependency 'FirebaseCore', '~> 7.0' |
| 35 | + s.dependency 'FirebaseInstallations', '~> 7.0' |
| 36 | + |
| 37 | + s.pod_target_xcconfig = { |
| 38 | + 'GCC_C_LANGUAGE_STANDARD' => 'c99', |
| 39 | + 'GCC_PREPROCESSOR_DEFINITIONS' => 'FIRMLModelDownloader_VERSION=' + s.version.to_s, |
| 40 | + 'OTHER_CFLAGS' => '-fno-autolink', |
| 41 | + } |
| 42 | + |
| 43 | + s.test_spec 'unit' do |unit_tests| |
| 44 | + unit_tests.scheme = { :code_coverage => true } |
| 45 | + unit_tests.platforms = {:ios => '10.0', :osx => '10.12', :tvos => '10.0'} |
| 46 | + unit_tests.source_files = 'FirebaseMLModelDownloader/Tests/Unit/**/*.swift' |
| 47 | + unit_tests.requires_app_host = true |
| 48 | + end |
| 49 | + |
| 50 | + s.test_spec 'integration' do |int_tests| |
| 51 | + int_tests.scheme = { :code_coverage => true } |
| 52 | + int_tests.platforms = {:ios => '10.0', :osx => '10.12', :tvos => '10.0'} |
| 53 | + int_tests.source_files = 'FirebaseMLModelDownloader/Tests/Integration/**/*.swift' |
| 54 | + int_tests.resources = 'FirebaseMLModelDownloader/Tests/Integration/Resources/GoogleService-Info.plist' |
| 55 | + int_tests.requires_app_host = true |
| 56 | + end |
| 57 | +end |
0 commit comments