GoogleSignInSwiftSupport.podspec 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. Pod::Spec.new do |s|
  2. s.name = 'GoogleSignInSwiftSupport'
  3. s.version = '7.0.0'
  4. s.swift_version = '4.0'
  5. s.summary = 'Adds Swift-focused support for Google Sign-In.'
  6. s.description = 'Additional Swift support for the Google Sign-In SDK.'
  7. s.homepage = 'https://developers.google.com/identity/sign-in/ios/'
  8. s.license = { :type => 'Apache', :file => 'LICENSE' }
  9. s.authors = 'Google LLC'
  10. s.source = {
  11. :git => 'https://github.com/google/GoogleSignIn-iOS.git',
  12. :tag => s.version.to_s
  13. }
  14. ios_deployment_target = '13.0'
  15. macos_deployment_target = '10.15'
  16. s.ios.deployment_target = ios_deployment_target
  17. s.osx.deployment_target = macos_deployment_target
  18. s.module_name = 'GoogleSignInSwift'
  19. s.prefix_header_file = false
  20. s.source_files = [
  21. 'GoogleSignInSwift/Sources/*.swift',
  22. ]
  23. s.frameworks = [
  24. 'CoreGraphics',
  25. 'SwiftUI',
  26. ]
  27. s.dependency 'GoogleSignIn', '~> 7.0'
  28. s.test_spec 'unit' do |unit_tests|
  29. unit_tests.platforms = {
  30. :ios => ios_deployment_target,
  31. :osx => macos_deployment_target,
  32. }
  33. unit_tests.source_files = [
  34. 'GoogleSignInSwift/Tests/Unit/*.swift',
  35. ]
  36. unit_tests.requires_app_host = false
  37. end
  38. end