FirebaseAppDistribution.podspec 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. Pod::Spec.new do |s|
  2. s.name = 'FirebaseAppDistribution'
  3. s.version = '0.9.3'
  4. s.summary = 'App Distribution for Firebase iOS SDK.'
  5. s.description = <<-DESC
  6. iOS SDK for App Distribution for Firebase.
  7. DESC
  8. s.homepage = 'https://developers.google.com/'
  9. s.license = { :type => 'Apache', :file => 'LICENSE' }
  10. s.authors = 'Google, Inc.'
  11. s.source = {
  12. :git => 'https://github.com/firebase/firebase-ios-sdk.git',
  13. :tag => 'AppDistribution-' + s.version.to_s
  14. }
  15. s.ios.deployment_target = '9.0'
  16. s.cocoapods_version = '>= 1.4.0'
  17. s.static_framework = true
  18. s.prefix_header_file = false
  19. base_dir = "FirebaseAppDistribution/Sources/"
  20. s.source_files = [
  21. base_dir + '**/*.{c,h,m,mm}',
  22. 'FirebaseCore/Sources/Private/*.h',
  23. 'FirebaseInstallations/Source/Library/Private/*.h',
  24. 'GoogleDataTransport/GDTCORLibrary/Internal/*.h',
  25. 'GoogleUtilities/AppDelegateSwizzler/Private/*.h',
  26. 'GoogleUtilities/UserDefaults/Private/*.h',
  27. ]
  28. s.public_header_files = base_dir + 'Public/*.h'
  29. s.dependency 'FirebaseCore', '~> 6.10'
  30. s.dependency 'GoogleUtilities/AppDelegateSwizzler', '~> 6.7'
  31. s.dependency 'GoogleUtilities/UserDefaults', '~> 6.7'
  32. s.dependency 'FirebaseInstallations', '~> 1.6'
  33. s.dependency 'GoogleDataTransport', '~> 7.2'
  34. s.pod_target_xcconfig = {
  35. 'GCC_C_LANGUAGE_STANDARD' => 'c99',
  36. 'GCC_PREPROCESSOR_DEFINITIONS' => 'FIRAppDistribution_VERSION=' + s.version.to_s,
  37. 'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
  38. }
  39. s.test_spec 'unit' do |unit_tests|
  40. unit_tests.source_files = 'FirebaseAppDistribution/Tests/Unit*/*.[mh]'
  41. unit_tests.resources = 'FirebaseAppDistribution/Tests/Unit/Resources/*'
  42. unit_tests.dependency 'OCMock'
  43. end
  44. # end
  45. end