FirebaseAppDistribution.podspec 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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 = '10.0'
  16. s.cocoapods_version = '>= 1.4.0'
  17. s.prefix_header_file = false
  18. base_dir = "FirebaseAppDistribution/Sources/"
  19. s.source_files = [
  20. base_dir + '**/*.{c,h,m,mm}',
  21. 'FirebaseCore/Sources/Private/*.h',
  22. 'FirebaseInstallations/Source/Library/Private/*.h',
  23. 'GoogleDataTransport/GDTCORLibrary/Internal/*.h',
  24. ]
  25. s.public_header_files = base_dir + 'Public/*.h'
  26. s.dependency 'FirebaseCore', '~> 6.10'
  27. s.dependency 'GoogleUtilities/AppDelegateSwizzler', '~> 6.7'
  28. s.dependency 'GoogleUtilities/UserDefaults', '~> 6.7'
  29. s.dependency 'FirebaseInstallations', '~> 1.6'
  30. s.dependency 'GoogleDataTransport', '~> 7.2'
  31. s.pod_target_xcconfig = {
  32. 'GCC_C_LANGUAGE_STANDARD' => 'c99',
  33. 'GCC_PREPROCESSOR_DEFINITIONS' => 'FIRAppDistribution_VERSION=' + s.version.to_s,
  34. 'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
  35. }
  36. s.test_spec 'unit' do |unit_tests|
  37. unit_tests.source_files = 'FirebaseAppDistribution/Tests/Unit*/*.[mh]'
  38. unit_tests.resources = 'FirebaseAppDistribution/Tests/Unit/Resources/*'
  39. unit_tests.dependency 'OCMock'
  40. end
  41. # end
  42. end