mirror of
https://github.com/firebase/firebase-ios-sdk
synced 2026-11-10 22:45:59 +05:45
* Create Segmentation SDK structure for source and unit tests. (#3214) * Create Segmentation SDK structure for source and unit tests. * Review changes: Remove unnecessary files in test folder. Add md-floc-master to CI * Rename Segmentation directory to FirebaseSegmentation directory. Update podspec to include search header path. * Add core support with interop for Segmentation SDK. (#3430) * Add core support with interop for Segmentation SDK. Also update headers to be under sources folder. * Review fixes. * Minor changes. * Fix style. * Fix style. * Style changes. * Fix whitespace in travis.yml * Fix style. * Travis CI is stuck..try updating the travis.yml * Undo travis.yml change. * Working drop of Segmentation SDK along with test app and unit tests. (#4574) * Working drop of Segmentation SDK along with sample app and unit tests. * Update if_changed.sh to include FirebaseSegmentation. * Complete NS_ASSUME_NON_NULL_START with NS_ASSUME_NON_NULL_END in header file. * Fix unit tests. * Fix style. * Fixes after running XCode's static analyzer. * Fix style. * fix style. * 'pod lib lint' fixes. * Fix analyzer errors. * Address review comments. * Minor changes for review comments. * Address review comments. * Address review comments. * stop mocking in tear down method for tests. * Minor update to sample app project. * Fix trailing whitespace in Podfile. * Add set -x to check.sh * update segmetation dependency version * migrate FloC SDK to depend on FIS SDK directly * format floc * format * using customized FIRapp * remove test plist file * refactor to capture weakself * format * replace partial mock with class mock * minor refactoring * use subscript to manipulate dictionary instance * fix import error * minor refoctoring, addressing comments * address comments * fix configurations * format Co-authored-by: dmandar <dmandar@users.noreply.github.com> Co-authored-by: ChaoqunCHEN <cqchen93@gmail.com>
46 lines
1.5 KiB
Ruby
46 lines
1.5 KiB
Ruby
Pod::Spec.new do |s|
|
|
s.name = 'FirebaseSegmentation'
|
|
s.version = '0.1.0'
|
|
s.summary = 'Firebase Segmentation SDK'
|
|
s.description = <<-DESC
|
|
Firebase Segmentation enables you to associate your custom application instance ID with Firebase for user segmentation.
|
|
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 => 'Segmentation-' + s.version.to_s
|
|
}
|
|
|
|
s.ios.deployment_target = '8.0'
|
|
s.cocoapods_version = '>= 1.4.0'
|
|
s.static_framework = true
|
|
s.prefix_header_file = false
|
|
|
|
s.source_files = [
|
|
'FirebaseSegmentation/Sources/**/*.[mh]',
|
|
'FirebaseCore/Sources/Private/*.h',
|
|
]
|
|
s.public_header_files = 'FirebaseSegmentation/Sources/Public/*.h'
|
|
|
|
s.dependency 'FirebaseCore', '~> 6.7'
|
|
s.dependency 'FirebaseInstallations', '~> 1.7'
|
|
|
|
header_search_paths = {
|
|
'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
|
|
}
|
|
|
|
s.pod_target_xcconfig = {
|
|
'GCC_C_LANGUAGE_STANDARD' => 'c99',
|
|
'GCC_PREPROCESSOR_DEFINITIONS' => 'FIRSegmentation_VERSION=' + s.version.to_s
|
|
}.merge(header_search_paths)
|
|
|
|
s.test_spec 'unit' do |unit_tests|
|
|
unit_tests.source_files = 'FirebaseSegmentation/Tests/Unit/*.[mh]'
|
|
unit_tests.dependency 'OCMock'
|
|
unit_tests.requires_app_host = true
|
|
end
|
|
end
|