FirebaseAppDistribution.podspec 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. Pod::Spec.new do |s|
  2. s.name = 'FirebaseAppDistribution'
  3. s.version = '0.0.1'
  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 = '8.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. ]
  24. s.public_header_files = base_dir + 'Public/*.h'
  25. s.private_header_files = base_dir + 'Private/*.h'
  26. s.dependency 'FirebaseCore', '~> 6.8'
  27. s.dependency 'AppAuth', '~> 1.2.0'
  28. s.dependency 'GoogleUtilities/AppDelegateSwizzler', '~> 6.5'
  29. s.pod_target_xcconfig = {
  30. 'GCC_C_LANGUAGE_STANDARD' => 'c99',
  31. 'GCC_PREPROCESSOR_DEFINITIONS' => 'FIRAppDistribution_VERSION=' + s.version.to_s,
  32. 'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
  33. }
  34. s.test_spec 'unit' do |unit_tests|
  35. unit_tests.source_files = 'FirebaseAppDistribution/Tests/Unit*/*.[mh]'
  36. unit_tests.resources = 'FirebaseAppDistribution/Tests/Unit/Resources/*'
  37. unit_tests.dependency 'OCMock'
  38. end
  39. # end
  40. end