forked from firebase/firebase-ios-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFirebaseAuth.podspec
More file actions
114 lines (102 loc) · 4.46 KB
/
FirebaseAuth.podspec
File metadata and controls
114 lines (102 loc) · 4.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
Pod::Spec.new do |s|
s.name = 'FirebaseAuth'
s.version = '10.8.0'
s.summary = 'Apple platform client for Firebase Authentication'
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'
s.license = { :type => 'Apache-2.0', :file => 'LICENSE' }
s.authors = 'Google, Inc.'
s.source = {
:git => 'https://github.com/firebase/firebase-ios-sdk.git',
:tag => 'CocoaPods-' + s.version.to_s
}
s.social_media_url = 'https://twitter.com/Firebase'
ios_deployment_target = '11.0'
osx_deployment_target = '10.13'
tvos_deployment_target = '12.0'
watchos_deployment_target = '6.0'
s.swift_version = '5.3'
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
s.cocoapods_version = '>= 1.4.0'
s.prefix_header_file = false
source = 'FirebaseAuth/Sources/'
s.source_files = [
source + '**/*.[mh]',
'FirebaseCore/Extension/*.h',
'FirebaseAuth/Interop/*.h',
'FirebaseAppCheck/Interop/*.h',
]
s.public_header_files = source + 'Public/FirebaseAuth/*.h'
s.preserve_paths = [
'FirebaseAuth/README.md',
'FirebaseAuth/CHANGELOG.md'
]
s.pod_target_xcconfig = {
'GCC_C_LANGUAGE_STANDARD' => 'c99',
'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
}
s.framework = 'Security'
s.ios.framework = 'SafariServices'
s.dependency 'FirebaseAppCheckInterop', '~> 10.0'
s.dependency 'FirebaseCore', '~> 10.0'
s.dependency 'GoogleUtilities/AppDelegateSwizzler', '~> 7.8'
s.dependency 'GoogleUtilities/Environment', '~> 7.8'
s.dependency 'GTMSessionFetcher/Core', '>= 2.1', '< 4.0'
# Using environment variable because of the dependency on the unpublished
# HeartbeatLoggingTestUtils.
if ENV['POD_LIB_LINT_ONLY'] && ENV['POD_LIB_LINT_ONLY'] == '1' then
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/*.[mh]'
unit_tests.osx.exclude_files = [
'FirebaseAuth/Tests/Unit/FIRAuthAPNSTokenManagerTests.m',
'FirebaseAuth/Tests/Unit/FIRAuthAPNSTokenTests.m',
'FirebaseAuth/Tests/Unit/FIRAuthAppCredentialManagerTests.m',
'FirebaseAuth/Tests/Unit/FIRAuthNotificationManagerTests.m',
'FirebaseAuth/Tests/Unit/FIRAuthURLPresenterTests.m',
'FirebaseAuth/Tests/Unit/FIREmailLink*',
'FirebaseAuth/Tests/Unit/FIRPhoneAuthProviderTests.m',
'FirebaseAuth/Tests/Unit/FIRSendVerificationCode*',
'FirebaseAuth/Tests/Unit/FIRSignInWithGameCenterTests.m',
'FirebaseAuth/Tests/Unit/FIRVerifyClient*',
'FirebaseAuth/Tests/Unit/FIRVerifyPhoneNumber*',
'FirebaseAuth/Tests/Unit/FIROAuthProviderTests.m',
'FirebaseAuth/Tests/Unit/FIRMultiFactorResolverTests.m',
]
unit_tests.tvos.exclude_files = [
'FirebaseAuth/Tests/Unit/FIRAuthAPNSTokenManagerTests.m',
'FirebaseAuth/Tests/Unit/FIRAuthNotificationManagerTests.m',
'FirebaseAuth/Tests/Unit/FIRAuthURLPresenterTests.m',
'FirebaseAuth/Tests/Unit/FIREmailLink*',
'FirebaseAuth/Tests/Unit/FIRPhoneAuthProviderTests.m',
'FirebaseAuth/Tests/Unit/FIRSendVerificationCode*',
'FirebaseAuth/Tests/Unit/FIRSignInWithGameCenterTests.m',
'FirebaseAuth/Tests/Unit/FIRVerifyClient*',
'FirebaseAuth/Tests/Unit/FIRVerifyPhoneNumber*',
'FirebaseAuth/Tests/Unit/FIROAuthProviderTests.m',
'FirebaseAuth/Tests/Unit/FIRMultiFactorResolverTests.m',
]
# app_host is needed for tests with keychain
unit_tests.requires_app_host = true
unit_tests.dependency 'OCMock'
unit_tests.dependency 'HeartbeatLoggingTestUtils'
# This pre-processor directive is used to selectively disable keychain
# related code that blocks unit testing on macOS.
s.osx.pod_target_xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => 'FIREBASE_AUTH_MACOS_TESTING=1'
}
end
end
end