forked from firebase/firebase-ios-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FirebaseCore.podspec
63 lines (56 loc) · 2.47 KB
/
FirebaseCore.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
Pod::Spec.new do |s|
s.name = 'FirebaseCore'
s.version = '6.7.0'
s.summary = 'Firebase Core'
s.description = <<-DESC
Firebase Core includes FIRApp and FIROptions which provide central configuration for other Firebase services.
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 => 'Core-' + s.version.to_s
}
s.social_media_url = 'https://twitter.com/Firebase'
s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.11'
s.tvos.deployment_target = '10.0'
s.watchos.deployment_target = '6.0'
s.cocoapods_version = '>= 1.4.0'
s.static_framework = true
s.prefix_header_file = false
s.source_files = 'FirebaseCore/Sources/**/*.[mh]'
s.public_header_files = 'FirebaseCore/Sources/Public/*.h', 'FirebaseCore/Sources/Private/*.h'
s.private_header_files = 'FirebaseCore/Sources/Private/*.h'
s.framework = 'Foundation'
s.ios.framework = 'UIKit'
s.osx.framework = 'AppKit'
s.tvos.framework = 'UIKit'
s.dependency 'GoogleUtilities/Environment', '~> 6.5'
s.dependency 'GoogleUtilities/Logger', '~> 6.5'
s.dependency 'FirebaseCoreDiagnosticsInterop', '~> 1.2'
s.dependency 'FirebaseCoreDiagnostics', '~> 1.3'
s.pod_target_xcconfig = {
'GCC_C_LANGUAGE_STANDARD' => 'c99',
'GCC_PREPROCESSOR_DEFINITIONS' =>
'FIRCore_VERSION=' + s.version.to_s + ' Firebase_VERSION=6.23.0',
'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"',
'OTHER_CFLAGS' => '-fno-autolink'
}
s.test_spec 'unit' do |unit_tests|
unit_tests.platforms = {:ios => '8.0', :osx => '10.11', :tvos => '10.0'}
unit_tests.source_files = 'FirebaseCore/Tests/Unit/**/*.[mh]'
unit_tests.requires_app_host = true
unit_tests.dependency 'OCMock'
unit_tests.resources = 'FirebaseCore/Tests/Unit/Resources/GoogleService-Info.plist'
end
s.test_spec 'swift-unit' do |swift_unit_tests|
swift_unit_tests.platforms = {:ios => '8.0', :osx => '10.11', :tvos => '10.0'}
swift_unit_tests.source_files = 'FirebaseCore/Tests/Unit/Swift/**/*.swift',
'FirebaseCore/Tests/Unit/Swift/**/*.h'
swift_unit_tests.pod_target_xcconfig = {
'SWIFT_OBJC_BRIDGING_HEADER' => '$(PODS_TARGET_SRCROOT)/FirebaseCore/Tests/Unit/Swift/FirebaseCore-unit-Bridging-Header.h'
}
end
end