Integrate App Check with Firebase umbrella pod (#7937)

* App Check: add to Firebase pod

* Dangerfile: add App Check

* Add App Check to Firebase.h

* Add App Check to FirebaseManifest.swift

* AppCheck: use Firebase version

* style

* Fix App Check swift tests for --use-libraries

* Fix copyright

* Revert unecessary changes

* Disable tests on CI for pod lib lint with --use-libraries and --use-modular-headers
This commit is contained in:
Maksym Malyhin authored and GitHub committed 2021-04-22 16:28:18 -04:00
1 parent 697902bde8
commit fc6284ca2e
14 files changed
+45 -64

No files matched your search

+26 -12
View File
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'FirebaseAppCheck'
s.version = '7.6.0-beta'
s.version = '7.11.0-beta'
s.summary = 'Firebase App Check SDK.'
s.description = <<-DESC
@@ -42,15 +42,17 @@ Pod::Spec.new do |s|
s.dependency 'PromisesObjC', '~> 1.2'
s.dependency 'GoogleUtilities/Environment', '~> 7.2'
preprocessor_definitions = 'FIRAppCheck_LIB_VERSION=' + String(s.version)
s.pod_target_xcconfig = {
'GCC_C_LANGUAGE_STANDARD' => 'c99',
'GCC_PREPROCESSOR_DEFINITIONS' => preprocessor_definitions,
'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
}
s.test_spec 'unit' do |unit_tests|
unit_tests.platforms = {:ios => ios_deployment_target, :osx => osx_deployment_target, :tvos => tvos_deployment_target}
unit_tests.platforms = {
:ios => ios_deployment_target,
:osx => osx_deployment_target,
:tvos => tvos_deployment_target
}
unit_tests.source_files = [
base_dir + 'Tests/Unit/**/*.[mh]',
base_dir + 'Tests/Utils/**/*.[mh]',
@@ -65,17 +67,29 @@ Pod::Spec.new do |s|
end
s.test_spec 'integration' do |integration_tests|
integration_tests.platforms = {:ios => ios_deployment_target, :osx => osx_deployment_target, :tvos => tvos_deployment_target}
integration_tests.source_files = base_dir + 'Tests/Integration/**/*.[mh]',
base_dir + 'Tests/Integration/**/*.[mh]',
integration_tests.resources = base_dir + 'Tests/Fixture/**/*'
integration_tests.requires_app_host = true
integration_tests.platforms = {
:ios => ios_deployment_target,
:osx => osx_deployment_target,
:tvos => tvos_deployment_target
}
integration_tests.source_files = [
base_dir + 'Tests/Integration/**/*.[mh]',
base_dir + 'Tests/Integration/**/*.[mh]',
]
integration_tests.resources = base_dir + 'Tests/Fixture/**/*'
integration_tests.requires_app_host = true
end
s.test_spec 'swift-unit' do |swift_unit_tests|
swift_unit_tests.platforms = {:ios => ios_deployment_target, :osx => osx_deployment_target, :tvos => tvos_deployment_target}
swift_unit_tests.source_files = base_dir + 'Tests/Unit/Swift/**/*.swift',
base_dir + 'Tests/Unit/Swift/**/*.h'
swift_unit_tests.platforms = {
:ios => ios_deployment_target,
:osx => osx_deployment_target,
:tvos => tvos_deployment_target
}
swift_unit_tests.source_files = [
base_dir + 'Tests/Unit/Swift/**/*.swift',
base_dir + 'Tests/Unit/Swift/**/*.h',
]
end
end