FirebaseAuth.podspec 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. Pod::Spec.new do |s|
  2. s.name = 'FirebaseAuth'
  3. s.version = '4.4.1'
  4. s.summary = 'The official iOS 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 => s.version.to_s
  15. }
  16. s.social_media_url = 'https://twitter.com/Firebase'
  17. s.ios.deployment_target = '7.0'
  18. s.osx.deployment_target = '10.10'
  19. s.tvos.deployment_target = '10.0'
  20. s.cocoapods_version = '>= 1.4.0.beta.2'
  21. s.static_framework = true
  22. s.prefix_header_file = false
  23. source = 'Firebase/Auth/Source/'
  24. s.source_files = source + '**/*.[mh]'
  25. s.osx.exclude_files = [
  26. source + '**/FIRAuthAppDelegateProxy.[mh]',
  27. source + '**/FIRAuthNotificationManager.[mh]',
  28. source + '**/FIRAuthAppCredentialManager.[mh]',
  29. source + '**/FIRAuthAPNSTokenManager.[mh]',
  30. source + '**/FIRAuthAPNSTokenType.[mh]',
  31. source + '**/FIRAuthAPNSToken.[mh]',
  32. source + '**/FIRAuthDefaultUIDelegate.[mh]',
  33. source + '**/FIRAuthUIDelegate.h',
  34. source + '**/FIRAuthURLPresenter.[mh]',
  35. source + '**/FIRAuthWebView.[mh]',
  36. source + '**/FIRAuthWebViewController.[mh]',
  37. source + '**/FIRPhoneAuthCredential.[mh]',
  38. source + '**/FIRPhoneAuthProvider.[mh]'
  39. ]
  40. s.tvos.exclude_files = [
  41. source + '**/FIRAuthURLPresenter.[mh]',
  42. source + '**/FIRAuthWebView.[mh]',
  43. source + '**/FIRAuthWebViewController.[mh]',
  44. source + '**/FIRPhoneAuthCredential.[mh]',
  45. source + '**/FIRPhoneAuthProvider.[mh]'
  46. ]
  47. s.public_header_files = source + 'Public/*.h'
  48. s.preserve_paths = [
  49. 'Firebase/Auth/README.md',
  50. 'Firebase/Auth/CHANGELOG.md'
  51. ]
  52. s.pod_target_xcconfig = {
  53. 'GCC_PREPROCESSOR_DEFINITIONS' =>
  54. 'FIRAuth_VERSION=' + s.version.to_s +
  55. ' FIRAuth_MINOR_VERSION=' + s.version.to_s.split(".")[0] + "." + s.version.to_s.split(".")[1]
  56. }
  57. s.framework = 'SafariServices'
  58. s.framework = 'Security'
  59. s.dependency 'FirebaseCore', '~> 4.0'
  60. s.ios.dependency 'FirebaseAnalytics', '~> 4.0'
  61. s.dependency 'GTMSessionFetcher/Core', '~> 1.1'
  62. s.dependency 'GoogleToolboxForMac/NSDictionary+URLArguments', '~> 2.1'
  63. end