尝试安装 Pod 但出现错误

Trying to install Pod but getting an error

enter image description here我想为我的应用程序使用 google 地图。根据 google 地图 SDK for iOS 的指导。我正在安装 pod 但出现错误。
如下所示。

没有在任何具体目标中使用依赖项 GoogleMaps

您必须为每个 pod 指定一个目标。

例如如果之前你的 Podfile 是这样写的:

pod 'GoogleMaps'

改成

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.1'

target "TargetName" do
   pod 'GoogleMaps'
end