如何在 Swift macOS 应用程序上安装 Google Sign-In?

ati*_*rit 7 macos cocoa cocoapods google-signin

当我尝试通过 Cocoapods 的正常方式时:

# Uncomment the next line to define a global platform for your project
platform :osx, '10.13'

target '1072 Scouting' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!
  pod 'Google/SignIn'
  # Pods for scouting1072-mac
end
Run Code Online (Sandbox Code Playgroud)

我收到错误:

[!] The platform of the target `1072 Scouting` (macOS 10.13) is not compatible with `Google/SignIn (3.1.0)`, which does not support `osx`.
Run Code Online (Sandbox Code Playgroud)

我将如何安装 Google Sign-In 以便我可以拥有与在 iOS 项目上安装类似的功能?