FirebaseCore.podspec 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. Pod::Spec.new do |s|
  2. s.name = 'FirebaseCore'
  3. s.version = '6.2.0'
  4. s.summary = 'Firebase Core for iOS (plus community support for macOS and tvOS)'
  5. s.description = <<-DESC
  6. Firebase Core includes FIRApp and FIROptions which provide central configuration for other Firebase services.
  7. DESC
  8. s.homepage = 'https://firebase.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 => 'Core-' + s.version.to_s
  14. }
  15. s.social_media_url = 'https://twitter.com/Firebase'
  16. s.ios.deployment_target = '8.0'
  17. s.osx.deployment_target = '10.11'
  18. s.tvos.deployment_target = '10.0'
  19. s.cocoapods_version = '>= 1.4.0'
  20. s.static_framework = true
  21. s.prefix_header_file = false
  22. s.source_files = 'Firebase/Core/**/*.[mh]'
  23. s.public_header_files = 'Firebase/Core/Public/*.h', 'Firebase/Core/Private/*.h'
  24. s.private_header_files = 'Firebase/Core/Private/*.h'
  25. s.framework = 'Foundation'
  26. s.ios.framework = 'UIKit'
  27. s.osx.framework = 'AppKit'
  28. s.tvos.framework = 'UIKit'
  29. s.dependency 'GoogleUtilities/Environment', '~> 6.2'
  30. s.dependency 'GoogleUtilities/Logger', '~> 6.2'
  31. s.dependency 'FirebaseCoreDiagnosticsInterop', '~> 1.0'
  32. s.dependency 'FirebaseCoreDiagnostics', '~> 1.0'
  33. s.pod_target_xcconfig = {
  34. 'GCC_C_LANGUAGE_STANDARD' => 'c99',
  35. 'GCC_PREPROCESSOR_DEFINITIONS' =>
  36. 'FIRCore_VERSION=' + s.version.to_s + ' Firebase_VERSION=6.6.0',
  37. 'OTHER_CFLAGS' => '-fno-autolink'
  38. }
  39. s.test_spec 'unit' do |unit_tests|
  40. unit_tests.source_files = 'Example/Core/Tests/**/*.[mh]'
  41. unit_tests.requires_app_host = true
  42. unit_tests.dependency 'OCMock'
  43. unit_tests.resources = 'Example/Core/App/GoogleService-Info.plist'
  44. end
  45. end