来自 CocoapPods 的 GoogleMaps SDK 错误 iOS Swift
Error GoogleMaps SDK from CocoapPods iOS Swift
当我从 CocoaPods 安装 Google 地图框架时
platform :ios, "8.0"
use_frameworks!
target 'BeNaved' do
pod 'TNImageSliderViewController', '~> 0.1'
pod 'SCLAlertView', '~> 0.4'
pod 'HanekeSwift'
pod 'GoogleMaps'
end
但是当我 运行 应用程序出现错误时。
ld: framework not found GoogleMaps
clang: error: linker command failed with exit code 1 (use -v to see invocation)
非常需要你的帮助,非常感谢
您写的 podfile 的语法有误。它是:
platform :ios, '8.0'
您将其写为 "8.0"(注意我已更改的单引号)。
当我从 CocoaPods 安装 Google 地图框架时
platform :ios, "8.0"
use_frameworks!
target 'BeNaved' do
pod 'TNImageSliderViewController', '~> 0.1'
pod 'SCLAlertView', '~> 0.4'
pod 'HanekeSwift'
pod 'GoogleMaps'
end
但是当我 运行 应用程序出现错误时。
ld: framework not found GoogleMaps
clang: error: linker command failed with exit code 1 (use -v to see invocation)
非常需要你的帮助,非常感谢
您写的 podfile 的语法有误。它是:
platform :ios, '8.0'
您将其写为 "8.0"(注意我已更改的单引号)。