FirebaseAppDistribution.podspec 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. Pod::Spec.new do |s|
  2. s.name = 'FirebaseAppDistribution'
  3. s.version = '12.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 = '15.0'
  16. s.swift_version = '5.9'
  17. s.cocoapods_version = '>= 1.12.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', '~> 12.6.0'
  27. s.dependency 'GoogleUtilities/AppDelegateSwizzler', '~> 8.1'
  28. s.dependency 'GoogleUtilities/UserDefaults', '~> 8.1'
  29. s.dependency 'FirebaseInstallations', '~> 12.6.0'
  30. s.pod_target_xcconfig = {
  31. 'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
  32. }
  33. s.test_spec 'unit' do |unit_tests|
  34. unit_tests.scheme = { :code_coverage => true }
  35. unit_tests.source_files = [
  36. 'FirebaseAppDistribution/Tests/Unit*/*.[mh]',
  37. 'FirebaseAppDistribution/Tests/Unit/Swift*/*.swift',
  38. ]
  39. unit_tests.requires_app_host = true
  40. unit_tests.resources = 'FirebaseAppDistribution/Tests/Unit/Resources/*'
  41. unit_tests.dependency 'OCMock'
  42. end
  43. end