2017-11-21 17:02:22 -08:00
|
|
|
Pod::Spec.new do |s|
|
|
|
|
|
s.name = 'FirebaseDatabase'
|
2021-09-22 14:02:10 -04:00
|
|
|
s.version = '8.8.0'
|
2020-03-31 10:21:48 -07:00
|
|
|
s.summary = 'Firebase Realtime Database'
|
2017-11-21 17:02:22 -08:00
|
|
|
|
|
|
|
|
s.description = <<-DESC
|
|
|
|
|
Simplify your iOS development, grow your user base, and monetize more effectively with Firebase.
|
|
|
|
|
DESC
|
|
|
|
|
|
|
|
|
|
s.homepage = 'https://firebase.google.com'
|
|
|
|
|
s.license = { :type => 'Apache', :file => 'LICENSE' }
|
|
|
|
|
s.authors = 'Google, Inc.'
|
|
|
|
|
|
|
|
|
|
s.source = {
|
|
|
|
|
:git => 'https://github.com/firebase/firebase-ios-sdk.git',
|
2020-10-02 12:26:22 -07:00
|
|
|
:tag => 'CocoaPods-' + s.version.to_s
|
2017-11-21 17:02:22 -08:00
|
|
|
}
|
|
|
|
|
s.social_media_url = 'https://twitter.com/Firebase'
|
2021-03-12 14:19:16 -05:00
|
|
|
|
|
|
|
|
ios_deployment_target = '10.0'
|
|
|
|
|
osx_deployment_target = '10.12'
|
|
|
|
|
tvos_deployment_target = '10.0'
|
|
|
|
|
watchos_deployment_target = '7.0'
|
|
|
|
|
|
|
|
|
|
s.ios.deployment_target = ios_deployment_target
|
|
|
|
|
s.osx.deployment_target = osx_deployment_target
|
|
|
|
|
s.tvos.deployment_target = tvos_deployment_target
|
|
|
|
|
s.watchos.deployment_target = watchos_deployment_target
|
2017-11-21 17:02:22 -08:00
|
|
|
|
2018-02-16 07:43:20 -08:00
|
|
|
s.cocoapods_version = '>= 1.4.0'
|
2017-11-21 17:02:22 -08:00
|
|
|
s.prefix_header_file = false
|
|
|
|
|
|
2020-06-22 07:26:07 -07:00
|
|
|
base_dir = "FirebaseDatabase/Sources/"
|
2020-06-09 06:09:27 -07:00
|
|
|
s.source_files = [
|
|
|
|
|
base_dir + '**/*.[mh]',
|
2017-11-21 17:02:22 -08:00
|
|
|
base_dir + 'third_party/Wrap-leveldb/APLevelDB.mm',
|
2020-06-09 06:09:27 -07:00
|
|
|
base_dir + 'third_party/SocketRocket/fbase64.c',
|
|
|
|
|
'Interop/Auth/Public/*.h',
|
2021-04-21 21:01:11 -04:00
|
|
|
'FirebaseAppCheck/Sources/Interop/*.h',
|
2020-06-09 06:09:27 -07:00
|
|
|
'FirebaseCore/Sources/Private/*.h',
|
|
|
|
|
]
|
2020-07-31 07:22:02 -07:00
|
|
|
s.public_header_files = base_dir + 'Public/FirebaseDatabase/*.h'
|
2017-11-21 17:02:22 -08:00
|
|
|
s.libraries = ['c++', 'icucore']
|
2021-03-12 14:19:16 -05:00
|
|
|
s.ios.frameworks = 'CFNetwork', 'Security', 'SystemConfiguration'
|
|
|
|
|
s.tvos.frameworks = 'CFNetwork', 'Security', 'SystemConfiguration'
|
|
|
|
|
s.macos.frameworks = 'CFNetwork', 'Security', 'SystemConfiguration'
|
|
|
|
|
s.watchos.frameworks = 'CFNetwork', 'Security', 'WatchKit'
|
2019-08-21 08:11:21 -07:00
|
|
|
s.dependency 'leveldb-library', '~> 1.22'
|
2021-04-23 13:49:36 -07:00
|
|
|
s.dependency 'FirebaseCore', '~> 8.0'
|
2017-11-21 17:02:22 -08:00
|
|
|
s.pod_target_xcconfig = {
|
2018-10-24 11:04:00 -07:00
|
|
|
'GCC_C_LANGUAGE_STANDARD' => 'c99',
|
2020-06-09 05:21:28 -07:00
|
|
|
'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
|
2018-10-24 11:04:00 -07:00
|
|
|
}
|
2019-05-21 08:29:15 -07:00
|
|
|
|
|
|
|
|
s.test_spec 'unit' do |unit_tests|
|
2021-03-18 12:22:16 -07:00
|
|
|
unit_tests.platforms = {
|
|
|
|
|
:ios => ios_deployment_target,
|
|
|
|
|
:osx => osx_deployment_target,
|
|
|
|
|
:tvos => tvos_deployment_target
|
|
|
|
|
}
|
2020-12-30 12:50:32 -08:00
|
|
|
unit_tests.scheme = { :code_coverage => true }
|
2020-09-28 14:08:16 -07:00
|
|
|
unit_tests.source_files = [
|
|
|
|
|
'FirebaseDatabase/Tests/Unit/*.[mh]',
|
2021-07-22 16:50:30 -05:00
|
|
|
'FirebaseDatabase/Tests/Unit/Swift/*',
|
2020-09-28 14:08:16 -07:00
|
|
|
'FirebaseDatabase/Tests/Helpers/*.[mh]',
|
|
|
|
|
'FirebaseDatabase/Tests/third_party/*.[mh]',
|
2021-04-21 21:01:11 -04:00
|
|
|
'SharedTestUtilities/AppCheckFake/*.[mh]',
|
2020-09-28 14:08:16 -07:00
|
|
|
'SharedTestUtilities/FIRAuthInteropFake.[mh]',
|
2021-03-17 19:02:59 -04:00
|
|
|
'SharedTestUtilities/FIRComponentTestUtilities.[mh]',
|
2020-09-28 14:08:16 -07:00
|
|
|
'SharedTestUtilities/FIROptionsMock.[mh]',
|
|
|
|
|
]
|
|
|
|
|
unit_tests.dependency 'OCMock'
|
2020-06-22 07:26:07 -07:00
|
|
|
unit_tests.resources = 'FirebaseDatabase/Tests/Resources/syncPointSpec.json',
|
|
|
|
|
'FirebaseDatabase/Tests/Resources/GoogleService-Info.plist'
|
2019-05-21 08:29:15 -07:00
|
|
|
end
|
|
|
|
|
|
|
|
|
|
s.test_spec 'integration' do |int_tests|
|
2021-03-12 14:19:16 -05:00
|
|
|
int_tests.platforms = {:ios => ios_deployment_target, :osx => osx_deployment_target, :tvos => tvos_deployment_target}
|
2020-12-30 12:50:32 -08:00
|
|
|
int_tests.scheme = { :code_coverage => true }
|
2020-09-28 14:08:16 -07:00
|
|
|
int_tests.source_files = [
|
|
|
|
|
'FirebaseDatabase/Tests/Integration/*.[mh]',
|
|
|
|
|
'FirebaseDatabase/Tests/Helpers/*.[mh]',
|
2021-04-21 21:01:11 -04:00
|
|
|
'SharedTestUtilities/AppCheckFake/*.[mh]',
|
2020-09-28 14:08:16 -07:00
|
|
|
'SharedTestUtilities/FIRAuthInteropFake.[mh]',
|
2021-03-17 19:02:59 -04:00
|
|
|
'SharedTestUtilities/FIRComponentTestUtilities.[mh]',
|
2020-09-28 14:08:16 -07:00
|
|
|
'SharedTestUtilities/FIROptionsMock.[mh]',
|
|
|
|
|
]
|
|
|
|
|
int_tests.dependency 'OCMock'
|
2020-06-22 07:26:07 -07:00
|
|
|
int_tests.resources = 'FirebaseDatabase/Tests/Resources/GoogleService-Info.plist'
|
2019-05-21 08:29:15 -07:00
|
|
|
end
|
2017-11-21 17:02:22 -08:00
|
|
|
end
|