mirror of
https://github.com/firebase/firebase-ios-sdk
synced 2026-11-11 22:55:59 +05:45
Remove Functions ObjC (#9333)
This commit is contained in:
1 parent
bba0e3468d
commit
74fa16f236
75 files changed
+116
-4299
No files matched your search
+26
-44
@@ -10,63 +10,45 @@ Cloud Functions for Firebase.
|
||||
s.homepage = 'https://developers.google.com/'
|
||||
s.license = { :type => 'Apache', :file => 'LICENSE' }
|
||||
s.authors = 'Google, Inc.'
|
||||
|
||||
s.source = {
|
||||
:git => 'https://github.com/firebase/firebase-ios-sdk.git',
|
||||
:git => 'https://github.com/Firebase/firebase-ios-sdk.git',
|
||||
:tag => 'CocoaPods-' + s.version.to_s
|
||||
}
|
||||
|
||||
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.swift_version = '5.3'
|
||||
|
||||
ios_deployment_target = '10.0'
|
||||
osx_deployment_target = '10.12'
|
||||
tvos_deployment_target = '10.0'
|
||||
watchos_deployment_target = '6.0'
|
||||
|
||||
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
|
||||
|
||||
s.source_files = [
|
||||
'FirebaseFunctions/Sources/**/*',
|
||||
'FirebaseAuth/Interop/*.h',
|
||||
'FirebaseAppCheck/Interop/*.h',
|
||||
'FirebaseCore/Internal/*.h',
|
||||
'FirebaseMessaging/Interop/FIRMessagingInterop.h',
|
||||
'FirebaseFunctions/Sources/**/*.swift',
|
||||
]
|
||||
s.public_header_files = 'FirebaseFunctions/Sources/Public/FirebaseFunctions/*.h'
|
||||
|
||||
s.dependency 'FirebaseCore', '~> 8.0'
|
||||
s.dependency 'FirebaseCore', '~> 8.12'
|
||||
s.dependency 'FirebaseCoreInternal', '~> 8.12'
|
||||
s.dependency 'FirebaseAppCheckInterop', '~> 8.12'
|
||||
s.dependency 'FirebaseAuthInterop', '~> 8.12'
|
||||
s.dependency 'FirebaseMessagingInterop', '~> 8.12'
|
||||
s.dependency 'FirebaseSharedSwift', '~> 8.12'
|
||||
s.dependency 'GTMSessionFetcher/Core', '~> 1.5'
|
||||
|
||||
s.pod_target_xcconfig = {
|
||||
'GCC_C_LANGUAGE_STANDARD' => 'c99',
|
||||
'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
|
||||
}
|
||||
|
||||
s.test_spec 'unit' do |unit_tests|
|
||||
unit_tests.scheme = { :code_coverage => true }
|
||||
unit_tests.source_files = [
|
||||
'FirebaseFunctions/Tests/Unit/*.[mh]',
|
||||
'FirebaseFunctions/Tests/SwiftUnit/**/*',
|
||||
'SharedTestUtilities/FIRAuthInteropFake*',
|
||||
'SharedTestUtilities/FIRMessagingInteropFake*',
|
||||
'SharedTestUtilities/AppCheckFake/*.[mh]',
|
||||
]
|
||||
end
|
||||
|
||||
s.test_spec 'integration' do |int_tests|
|
||||
int_tests.scheme = { :code_coverage => true }
|
||||
int_tests.source_files = 'FirebaseFunctions/Tests/Integration/*.[mh]',
|
||||
'SharedTestUtilities/FIRAuthInteropFake*',
|
||||
'SharedTestUtilities/FIRMessagingInteropFake*'
|
||||
end
|
||||
|
||||
# Using environment variable because of the dependency on the unpublished
|
||||
# FirebaseFunctionsTestingSupport.
|
||||
if ENV['POD_LIB_LINT_ONLY'] && ENV['POD_LIB_LINT_ONLY'] == '1' then
|
||||
s.test_spec 'swift-integration' do |swift_int|
|
||||
swift_int.platforms = {:ios => '15.0', :osx => '12.0', :tvos => '15.0', :watchos => '8.0'}
|
||||
swift_int.scheme = { :code_coverage => true }
|
||||
swift_int.dependency 'FirebaseFunctionsTestingSupport'
|
||||
swift_int.source_files = 'FirebaseFunctions/Tests/SwiftIntegration/*',
|
||||
'FirebaseTestingSupport/Functions/Sources/*'
|
||||
end
|
||||
int_tests.platforms = {
|
||||
:ios => ios_deployment_target,
|
||||
:osx => osx_deployment_target,
|
||||
:tvos => tvos_deployment_target
|
||||
}
|
||||
int_tests.source_files = 'FirebaseFunctions/Tests/Integration/*.swift'
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user