FirebaseInstanceID.podspec 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. Pod::Spec.new do |s|
  2. s.name = 'FirebaseInstanceID'
  3. s.version = '4.2.7'
  4. s.summary = 'Firebase InstanceID for iOS'
  5. s.description = <<-DESC
  6. Instance ID provides a unique ID per instance of your iOS apps. In addition to providing
  7. unique IDs for authentication,Instance ID can generate security tokens for use with other
  8. services.
  9. DESC
  10. s.homepage = 'https://firebase.google.com'
  11. s.license = { :type => 'Apache', :file => 'LICENSE' }
  12. s.authors = 'Google, Inc.'
  13. s.source = {
  14. :git => 'https://github.com/firebase/firebase-ios-sdk.git',
  15. :tag => 'InstanceID-' + s.version.to_s
  16. }
  17. s.social_media_url = 'https://twitter.com/Firebase'
  18. s.ios.deployment_target = '8.0'
  19. s.osx.deployment_target = '10.11'
  20. s.tvos.deployment_target = '10.0'
  21. s.cocoapods_version = '>= 1.4.0'
  22. s.static_framework = true
  23. s.prefix_header_file = false
  24. base_dir = "Firebase/InstanceID/"
  25. s.source_files = base_dir + '**/*.[mh]'
  26. s.requires_arc = base_dir + '*.m'
  27. s.public_header_files = base_dir + 'Public/*.h', base_dir + 'Private/*.h'
  28. s.private_header_files = base_dir + 'Private/*.h'
  29. s.pod_target_xcconfig = {
  30. 'GCC_C_LANGUAGE_STANDARD' => 'c99',
  31. 'GCC_PREPROCESSOR_DEFINITIONS' =>
  32. 'FIRInstanceID_LIB_VERSION=' + String(s.version)
  33. }
  34. s.framework = 'Security'
  35. s.dependency 'FirebaseCore', '~> 6.4' # Should go to 6.5 in M61 for new private header access
  36. s.dependency 'GoogleUtilities/UserDefaults', '~> 6.0'
  37. s.dependency 'GoogleUtilities/Environment', '~> 6.0'
  38. s.test_spec 'unit' do |unit_tests|
  39. unit_tests.source_files = 'Example/InstanceID/Tests/*.[mh]'
  40. unit_tests.requires_app_host = true
  41. unit_tests.dependency 'OCMock'
  42. unit_tests.pod_target_xcconfig = {
  43. # Unit tests do library imports using repo-root relative paths.
  44. 'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"',
  45. # Prevent linker warning for test category override of
  46. # store:didDeleteFCMScopedTokensForCheckin:
  47. 'OTHER_LDFLAGS' => '-Xlinker -no_objc_category_merging',
  48. 'CLANG_ENABLE_OBJC_WEAK' => 'YES'
  49. }
  50. end
  51. end