forked from firebase/firebase-ios-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FirebaseAuth.podspec
86 lines (79 loc) · 3.38 KB
/
FirebaseAuth.podspec
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
Pod::Spec.new do |s|
s.name = 'FirebaseAuth'
s.version = '7.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', :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'
s.ios.deployment_target = '10.0'
s.osx.deployment_target = '10.12'
s.tvos.deployment_target = '10.0'
s.watchos.deployment_target = '6.0'
s.cocoapods_version = '>= 1.4.0'
s.prefix_header_file = false
source = 'FirebaseAuth/Sources/'
s.source_files = [
source + '**/*.[mh]',
'FirebaseCore/Sources/Private/*.h',
'Interop/Auth/Public/*.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 'FirebaseCore', '~> 7.0'
s.dependency 'GoogleUtilities/AppDelegateSwizzler', '~> 7.0'
s.dependency 'GoogleUtilities/Environment', '~> 7.0'
s.dependency 'GTMSessionFetcher/Core', '~> 1.4'
s.test_spec 'unit' do |unit_tests|
unit_tests.scheme = { :code_coverage => true }
# Unit tests can't run on watchOS.
unit_tests.platforms = {:ios => '10.0', :osx => '10.12', :tvos => '10.0'}
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',
]
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',
]
# app_host is needed for tests with keychain
unit_tests.requires_app_host = true
unit_tests.dependency 'OCMock'
end
end