FirebaseAuth.podspec 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. Pod::Spec.new do |s|
  2. s.name = 'FirebaseAuth'
  3. s.version = '6.5.1'
  4. s.summary = 'Apple platform client for Firebase Authentication'
  5. s.description = <<-DESC
  6. Firebase Authentication allows you to manage your own account system without any backend code. It
  7. supports email and password accounts, as well as several 3rd party authentication mechanisms.
  8. DESC
  9. s.homepage = 'https://firebase.google.com'
  10. s.license = { :type => 'Apache', :file => 'LICENSE' }
  11. s.authors = 'Google, Inc.'
  12. s.source = {
  13. :git => 'https://github.com/firebase/firebase-ios-sdk.git',
  14. :tag => 'Auth-' + s.version.to_s
  15. }
  16. s.social_media_url = 'https://twitter.com/Firebase'
  17. s.ios.deployment_target = '8.0'
  18. s.osx.deployment_target = '10.11'
  19. s.tvos.deployment_target = '10.0'
  20. s.cocoapods_version = '>= 1.4.0'
  21. s.static_framework = true
  22. s.prefix_header_file = false
  23. source = 'FirebaseAuth/Sources/'
  24. s.source_files = source + '**/*.[mh]'
  25. s.public_header_files = source + 'Public/*.h'
  26. s.preserve_paths = [
  27. 'FirebaseAuth/README.md',
  28. 'FirebaseAuth/CHANGELOG.md'
  29. ]
  30. s.pod_target_xcconfig = {
  31. 'GCC_C_LANGUAGE_STANDARD' => 'c99',
  32. 'GCC_PREPROCESSOR_DEFINITIONS' =>
  33. 'FIRAuth_VERSION=' + s.version.to_s +
  34. ' FIRAuth_MINOR_VERSION=' + s.version.to_s.split(".")[0] + "." + s.version.to_s.split(".")[1],
  35. 'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
  36. }
  37. s.framework = 'Security'
  38. s.ios.framework = 'SafariServices'
  39. s.dependency 'FirebaseAuthInterop', '~> 1.0'
  40. s.dependency 'FirebaseCore', '~> 6.6'
  41. s.dependency 'GoogleUtilities/AppDelegateSwizzler', '~> 6.5'
  42. s.dependency 'GoogleUtilities/Environment', '~> 6.5'
  43. s.dependency 'GTMSessionFetcher/Core', '~> 1.1'
  44. s.test_spec 'unit' do |unit_tests|
  45. unit_tests.source_files = 'FirebaseAuth/Tests/Unit/*.[mh]'
  46. unit_tests.osx.exclude_files = [
  47. 'FirebaseAuth/Tests/Unit/FIRAuthAPNSTokenManagerTests.m',
  48. 'FirebaseAuth/Tests/Unit/FIRAuthAPNSTokenTests.m',
  49. 'FirebaseAuth/Tests/Unit/FIRAuthAppCredentialManagerTests.m',
  50. 'FirebaseAuth/Tests/Unit/FIRAuthNotificationManagerTests.m',
  51. 'FirebaseAuth/Tests/Unit/FIRAuthURLPresenterTests.m',
  52. 'FirebaseAuth/Tests/Unit/FIREmailLink*',
  53. 'FirebaseAuth/Tests/Unit/FIRPhoneAuthProviderTests.m',
  54. 'FirebaseAuth/Tests/Unit/FIRSendVerificationCode*',
  55. 'FirebaseAuth/Tests/Unit/FIRSignInWithGameCenterTests.m',
  56. 'FirebaseAuth/Tests/Unit/FIRVerifyClient*',
  57. 'FirebaseAuth/Tests/Unit/FIRVerifyPhoneNumber*',
  58. 'FirebaseAuth/Tests/Unit/FIROAuthProviderTests.m',
  59. ]
  60. unit_tests.tvos.exclude_files = [
  61. 'FirebaseAuth/Tests/Unit/FIRAuthAPNSTokenManagerTests.m',
  62. 'FirebaseAuth/Tests/Unit/FIRAuthNotificationManagerTests.m',
  63. 'FirebaseAuth/Tests/Unit/FIRAuthURLPresenterTests.m',
  64. 'FirebaseAuth/Tests/Unit/FIREmailLink*',
  65. 'FirebaseAuth/Tests/Unit/FIRPhoneAuthProviderTests.m',
  66. 'FirebaseAuth/Tests/Unit/FIRSendVerificationCode*',
  67. 'FirebaseAuth/Tests/Unit/FIRSignInWithGameCenterTests.m',
  68. 'FirebaseAuth/Tests/Unit/FIRVerifyClient*',
  69. 'FirebaseAuth/Tests/Unit/FIRVerifyPhoneNumber*',
  70. 'FirebaseAuth/Tests/Unit/FIROAuthProviderTests.m',
  71. ]
  72. # app_host is needed for tests with keychain
  73. unit_tests.requires_app_host = true
  74. unit_tests.dependency 'OCMock'
  75. end
  76. end