-
Notifications
You must be signed in to change notification settings - Fork 203
/
GoogleSignIn.podspec
62 lines (62 loc) · 2.07 KB
/
GoogleSignIn.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
Pod::Spec.new do |s|
s.name = 'GoogleSignIn'
s.version = '8.0.0'
s.summary = 'Enables iOS apps to sign in with Google.'
s.description = <<-DESC
The Google Sign-In SDK allows users to sign in with their Google account from third-party apps.
DESC
s.homepage = 'https://developers.google.com/identity/sign-in/ios/'
s.license = { :type => 'Apache', :file => 'LICENSE' }
s.authors = 'Google LLC'
s.source = {
:git => 'https://github.com/google/GoogleSignIn-iOS.git',
:tag => s.version.to_s
}
s.swift_version = '4.0'
ios_deployment_target = '12.0'
osx_deployment_target = '10.15'
s.ios.deployment_target = ios_deployment_target
s.osx.deployment_target = osx_deployment_target
s.prefix_header_file = false
s.source_files = [
'GoogleSignIn/Sources/**/*.[mh]',
]
s.public_header_files = [
'GoogleSignIn/Sources/Public/GoogleSignIn/*.h',
]
s.frameworks = [
'CoreGraphics',
'CoreText',
'Foundation',
'LocalAuthentication',
'Security'
]
s.ios.framework = 'UIKit'
s.osx.framework = 'AppKit'
s.dependency 'AppCheckCore', '~> 11.0'
s.dependency 'AppAuth', '>= 1.7.3', '< 2.0'
s.dependency 'GTMAppAuth', '>= 4.1.1', '< 5.0'
s.dependency 'GTMSessionFetcher/Core', '~> 3.3'
s.resource_bundle = {
'GoogleSignIn' => ['GoogleSignIn/Sources/{Resources,Strings}/*']
}
s.pod_target_xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => 'GID_SDK_VERSION=' + s.version.to_s,
'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"',
'DEFINES_MODULE' => 'YES',
'COMBINE_HIDPI_IMAGES' => 'NO'
}
s.test_spec 'unit' do |unit_tests|
unit_tests.platforms = {
:ios => ios_deployment_target,
:osx => osx_deployment_target
}
unit_tests.source_files = [
'GoogleSignIn/Tests/Unit/**/*.[mh]',
]
unit_tests.requires_app_host = true
unit_tests.dependency 'OCMock'
unit_tests.dependency 'GoogleUtilities/MethodSwizzler', '~> 8.0'
unit_tests.dependency 'GoogleUtilities/SwizzlerTestHelpers', '~> 8.0'
end
end