2019-08-05 19:30:54 -07:00
|
|
|
Pod::Spec.new do |s|
|
|
|
|
|
s.name = 'FirebaseABTesting'
|
2022-10-31 18:19:08 -04:00
|
|
|
s.version = '10.2.0'
|
2020-03-31 10:21:48 -07:00
|
|
|
s.summary = 'Firebase ABTesting'
|
2019-08-05 19:30:54 -07:00
|
|
|
|
|
|
|
|
s.description = <<-DESC
|
|
|
|
|
A/B testing is a Firebase service that lets you run experiments across users of
|
2020-03-31 10:21:48 -07:00
|
|
|
your mobile apps. It lets you learn how well one or more changes to
|
2019-08-05 19:30:54 -07:00
|
|
|
your app work with a smaller set of users before you roll out changes to all
|
|
|
|
|
users. You can run experiments to find the most effective ways to use
|
|
|
|
|
Firebase Cloud Messaging and Firebase Remote Config in your app.
|
|
|
|
|
DESC
|
|
|
|
|
|
|
|
|
|
s.homepage = 'https://firebase.google.com'
|
2022-05-09 13:23:42 +00:00
|
|
|
s.license = { :type => 'Apache-2.0', :file => 'LICENSE' }
|
2019-08-05 19:30:54 -07:00
|
|
|
s.authors = 'Google, Inc.'
|
|
|
|
|
|
|
|
|
|
s.source = {
|
|
|
|
|
:git => 'https://github.com/firebase/firebase-ios-sdk.git',
|
2020-10-02 12:26:22 -07:00
|
|
|
:tag => 'CocoaPods-' + s.version.to_s
|
2019-08-05 19:30:54 -07:00
|
|
|
}
|
2020-10-02 12:26:22 -07:00
|
|
|
|
2019-08-05 19:30:54 -07:00
|
|
|
s.social_media_url = 'https://twitter.com/Firebase'
|
2021-03-18 12:22:16 -07:00
|
|
|
|
2022-09-21 16:48:11 -04:00
|
|
|
ios_deployment_target = '11.0'
|
|
|
|
|
osx_deployment_target = '10.13'
|
2022-09-24 07:06:20 -04:00
|
|
|
tvos_deployment_target = '12.0'
|
2021-02-12 11:41:35 -08:00
|
|
|
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
|
2019-08-05 19:30:54 -07:00
|
|
|
|
|
|
|
|
s.cocoapods_version = '>= 1.4.0'
|
|
|
|
|
s.prefix_header_file = false
|
|
|
|
|
|
2022-03-09 16:25:39 -05:00
|
|
|
s.swift_version = '5.3'
|
|
|
|
|
|
2019-08-05 19:30:54 -07:00
|
|
|
base_dir = "FirebaseABTesting/Sources/"
|
2020-06-09 06:09:27 -07:00
|
|
|
s.source_files = [
|
|
|
|
|
base_dir + '**/*.[mh]',
|
|
|
|
|
'Interop/Analytics/Public/*.h',
|
2022-04-07 07:35:31 -07:00
|
|
|
'FirebaseCore/Extension/*.h',
|
2020-06-09 06:09:27 -07:00
|
|
|
]
|
2019-08-05 19:30:54 -07:00
|
|
|
s.requires_arc = base_dir + '*.m'
|
2020-10-02 09:11:21 -07:00
|
|
|
s.public_header_files = base_dir + 'Public/FirebaseABTesting/*.h'
|
2019-08-05 19:30:54 -07:00
|
|
|
s.pod_target_xcconfig = {
|
|
|
|
|
'GCC_C_LANGUAGE_STANDARD' => 'c99',
|
|
|
|
|
'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
|
|
|
|
|
}
|
2022-09-24 07:06:20 -04:00
|
|
|
s.dependency 'FirebaseCore', '~> 10.0'
|
2019-08-05 19:30:54 -07:00
|
|
|
|
|
|
|
|
s.test_spec 'unit' do |unit_tests|
|
2020-12-30 12:50:32 -08:00
|
|
|
unit_tests.scheme = { :code_coverage => true }
|
2021-03-18 12:22:16 -07:00
|
|
|
unit_tests.platforms = {
|
|
|
|
|
:ios => ios_deployment_target,
|
2022-03-18 17:15:52 -04:00
|
|
|
:osx => '10.15',
|
2021-03-18 12:22:16 -07:00
|
|
|
:tvos => tvos_deployment_target
|
|
|
|
|
}
|
2020-07-06 13:06:39 -04:00
|
|
|
unit_tests.source_files = 'FirebaseABTesting/Tests/Unit/**/*.[mh]'
|
|
|
|
|
unit_tests.resources = 'FirebaseABTesting/Tests/Unit/Resources/*.txt'
|
2019-08-05 19:30:54 -07:00
|
|
|
unit_tests.requires_app_host = true
|
|
|
|
|
unit_tests.dependency 'OCMock'
|
|
|
|
|
end
|
|
|
|
|
end
|