FirebaseAuth.podspec 2.2 KB

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