|
| 1 | +Pod::Spec.new do |s| |
| 2 | + s.name = 'FirebaseFunctionsSwift' |
| 3 | + s.version = '8.11.0-beta' |
| 4 | + s.summary = 'Swift Extensions for Firebase Functions' |
| 5 | + |
| 6 | + s.description = <<-DESC |
| 7 | +Swift SDK Extensions for Cloud Functions for Firebase. |
| 8 | + DESC |
| 9 | + |
| 10 | + s.homepage = 'https://developers.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 => 'CocoaPods-' + s.version.to_s |
| 17 | + } |
| 18 | + |
| 19 | + s.swift_version = '5.1' |
| 20 | + |
| 21 | + ios_deployment_target = '10.0' |
| 22 | + osx_deployment_target = '10.12' |
| 23 | + tvos_deployment_target = '10.0' |
| 24 | + watchos_deployment_target = '6.0' |
| 25 | + |
| 26 | + s.ios.deployment_target = ios_deployment_target |
| 27 | + s.osx.deployment_target = osx_deployment_target |
| 28 | + s.tvos.deployment_target = tvos_deployment_target |
| 29 | + s.watchos.deployment_target = watchos_deployment_target |
| 30 | + |
| 31 | + s.cocoapods_version = '>= 1.4.0' |
| 32 | + s.prefix_header_file = false |
| 33 | + |
| 34 | + s.source_files = [ |
| 35 | + 'FirebaseFunctionsSwift/Sources/**/*.swift', |
| 36 | + ] |
| 37 | + |
| 38 | + s.dependency 'FirebaseFunctions', '~> 8.10' |
| 39 | + s.dependency 'FirebaseSharedSwift', '~> 8.11' |
| 40 | + |
| 41 | + s.test_spec 'integration' do |int_tests| |
| 42 | + int_tests.platforms = { |
| 43 | + :ios => ios_deployment_target, |
| 44 | + :osx => osx_deployment_target, |
| 45 | + :tvos => tvos_deployment_target |
| 46 | + } |
| 47 | + int_tests.source_files = 'FirebaseFunctionsSwift/Tests/*.swift' |
| 48 | + int_tests.dependency 'FirebaseFunctionsTestingSupport' |
| 49 | + end |
| 50 | +end |
0 commit comments