FirebaseAppDistribution.podspec 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. Pod::Spec.new do |s|
  2. s.name = 'FirebaseAppDistribution'
  3. s.version = '9.6.0-beta'
  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-2.0', :file => 'LICENSE' }
  10. s.authors = 'Google, Inc.'
  11. s.source = {
  12. :git => 'https://github.com/firebase/firebase-ios-sdk.git',
  13. :tag => 'CocoaPods-' + s.version.to_s
  14. }
  15. s.ios.deployment_target = '10.0'
  16. s.swift_version = '5.3'
  17. s.cocoapods_version = '>= 1.4.0'
  18. s.prefix_header_file = false
  19. base_dir = "FirebaseAppDistribution/Sources/"
  20. s.source_files = [
  21. base_dir + '**/*.{c,h,m,mm}',
  22. 'FirebaseCore/Extension/*.h',
  23. 'FirebaseInstallations/Source/Library/Private/*.h',
  24. ]
  25. s.public_header_files = base_dir + 'Public/FirebaseAppDistribution/*.h'
  26. s.dependency 'FirebaseCore', '~> 9.0'
  27. s.dependency 'GoogleUtilities/AppDelegateSwizzler', '~> 7.7'
  28. s.dependency 'GoogleUtilities/UserDefaults', '~> 7.7'
  29. s.dependency 'FirebaseInstallations', '~> 9.0'
  30. s.dependency 'GoogleDataTransport', '>= 9.1.4', '< 10.0.0'
  31. s.pod_target_xcconfig = {
  32. 'GCC_C_LANGUAGE_STANDARD' => 'c99',
  33. 'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
  34. }
  35. s.test_spec 'unit' do |unit_tests|
  36. unit_tests.scheme = { :code_coverage => true }
  37. unit_tests.source_files = [
  38. 'FirebaseAppDistribution/Tests/Unit*/*.[mh]',
  39. 'FirebaseAppDistribution/Tests/Unit/Swift*/*.swift',
  40. ]
  41. unit_tests.resources = 'FirebaseAppDistribution/Tests/Unit/Resources/*'
  42. unit_tests.dependency 'OCMock'
  43. end
  44. end