2017-11-21 17:02:22 -08:00
|
|
|
Pod::Spec.new do |s|
|
|
|
|
|
s.name = 'FirebaseAuth'
|
2026-09-15 19:20:16 -04:00
|
|
|
s.version = '13.0.0'
|
2020-03-31 10:21:48 -07:00
|
|
|
s.summary = 'Apple platform client for Firebase Authentication'
|
2017-11-21 17:02:22 -08:00
|
|
|
|
|
|
|
|
s.description = <<-DESC
|
|
|
|
|
Firebase Authentication allows you to manage your own account system without any backend code. It
|
|
|
|
|
supports email and password accounts, as well as several 3rd party authentication mechanisms.
|
|
|
|
|
DESC
|
|
|
|
|
|
|
|
|
|
s.homepage = 'https://firebase.google.com'
|
2022-05-09 13:23:42 +00:00
|
|
|
s.license = { :type => 'Apache-2.0', :file => 'LICENSE' }
|
2017-11-21 17:02:22 -08:00
|
|
|
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
|
|
|
}
|
2020-10-02 12:26:22 -07:00
|
|
|
|
2017-11-21 17:02:22 -08:00
|
|
|
s.social_media_url = 'https://twitter.com/Firebase'
|
2021-03-18 12:22:16 -07:00
|
|
|
|
2025-06-24 13:22:47 -04:00
|
|
|
ios_deployment_target = '15.0'
|
2026-09-14 13:44:30 -04:00
|
|
|
osx_deployment_target = '11.0'
|
2025-06-24 13:22:47 -04:00
|
|
|
tvos_deployment_target = '15.0'
|
2026-09-15 11:43:42 -04:00
|
|
|
watchos_deployment_target = '8.0'
|
2021-03-18 12:22:16 -07:00
|
|
|
|
2024-06-05 07:39:36 -07:00
|
|
|
s.swift_version = '5.9'
|
2022-03-09 16:25:39 -05:00
|
|
|
|
2021-03-18 12:22:16 -07:00
|
|
|
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
|
|
|
|
2024-01-26 13:38:44 -08:00
|
|
|
s.cocoapods_version = '>= 1.12.0'
|
2017-11-21 17:02:22 -08:00
|
|
|
s.prefix_header_file = false
|
|
|
|
|
|
2020-04-08 17:52:56 -07:00
|
|
|
source = 'FirebaseAuth/Sources/'
|
2020-06-09 06:09:27 -07:00
|
|
|
s.source_files = [
|
2023-05-11 15:50:39 -07:00
|
|
|
source + 'Swift/**/*.swift',
|
2024-01-02 10:56:43 -08:00
|
|
|
source + 'ObjC/**/*.m', # Implementations for deprecated global symbols
|
2023-05-11 15:50:39 -07:00
|
|
|
source + 'Public/FirebaseAuth/*.h'
|
2020-06-09 06:09:27 -07:00
|
|
|
]
|
2020-07-27 15:21:19 -07:00
|
|
|
s.public_header_files = source + 'Public/FirebaseAuth/*.h'
|
2024-02-23 15:08:29 -08:00
|
|
|
s.resource_bundles = {
|
|
|
|
|
"#{s.module_name}_Privacy" => 'FirebaseAuth/Sources/Resources/PrivacyInfo.xcprivacy'
|
|
|
|
|
}
|
2017-11-21 17:02:22 -08:00
|
|
|
s.preserve_paths = [
|
2020-04-08 17:52:56 -07:00
|
|
|
'FirebaseAuth/README.md',
|
|
|
|
|
'FirebaseAuth/CHANGELOG.md'
|
2017-11-21 17:02:22 -08:00
|
|
|
]
|
|
|
|
|
s.pod_target_xcconfig = {
|
2023-01-11 12:24:28 -09:00
|
|
|
# The second path is to find FirebaseAuth-Swift.h from a pod gen project
|
2023-02-03 16:09:23 -05:00
|
|
|
'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}" "${OBJECT_FILE_DIR_normal}/${NATIVE_ARCH_ACTUAL}"',
|
2026-09-22 17:41:59 -05:00
|
|
|
'OTHER_SWIFT_FLAGS' => "$(inherited) #{ENV.key?('FIREBASE_CI') ? '-D FIREBASE_CI -warnings-as-errors' : ''}",
|
|
|
|
|
'PRODUCT_BUNDLE_IDENTIFIER' => 'com.google.firebase.FirebaseAuth'
|
2017-11-21 17:02:22 -08:00
|
|
|
}
|
|
|
|
|
s.framework = 'Security'
|
2018-10-25 09:42:45 -07:00
|
|
|
s.ios.framework = 'SafariServices'
|
2026-09-15 19:20:16 -04:00
|
|
|
s.dependency 'FirebaseAuthInterop', '~> 13.0.0'
|
|
|
|
|
s.dependency 'FirebaseAppCheckInterop', '~> 13.0.0'
|
|
|
|
|
s.dependency 'FirebaseCore', '~> 13.0.0'
|
|
|
|
|
s.dependency 'FirebaseCoreExtension', '~> 13.0.0'
|
2026-09-16 21:38:12 -04:00
|
|
|
s.dependency 'GoogleUtilities/AppDelegateSwizzler', '>= 8.1.3', '< 9.0'
|
|
|
|
|
s.dependency 'GoogleUtilities/Environment', '>= 8.1.3', '< 9.0'
|
2026-09-17 12:08:10 -04:00
|
|
|
s.dependency 'GTMSessionFetcher/Core', '>= 4.0', '< 6.0'
|
2025-02-03 11:40:26 -05:00
|
|
|
s.ios.dependency 'RecaptchaInterop', '~> 101.0'
|
2023-07-11 17:54:12 -07:00
|
|
|
s.test_spec 'unit' do |unit_tests|
|
|
|
|
|
unit_tests.scheme = { :code_coverage => true }
|
|
|
|
|
# Unit tests can't run on watchOS.
|
|
|
|
|
unit_tests.platforms = {
|
|
|
|
|
:ios => ios_deployment_target,
|
|
|
|
|
:osx => osx_deployment_target,
|
|
|
|
|
:tvos => tvos_deployment_target
|
|
|
|
|
}
|
|
|
|
|
unit_tests.source_files = 'FirebaseAuth/Tests/Unit*/**/*.{m,h,swift}'
|
|
|
|
|
# app_host is needed for tests with keychain
|
|
|
|
|
unit_tests.requires_app_host = true
|
2019-06-05 20:33:21 -07:00
|
|
|
end
|
2017-11-21 17:02:22 -08:00
|
|
|
end
|