谷歌地图中的可可豆荚错误

时间:2016-11-09 16:46:59

标签: swift google-maps cocoa cocoapods

我下载了一个git repositorie。它使用谷歌地图。编译项目时,项目显示160个错误。 我已经尝试更新,更改地图版本,安装,宝石更新 也许这是podfile的一个问题。

Podfile

  # Uncomment the next line to define a global platform for your project
  source 'https://github.com/CocoaPods/Specs.git'
  platform :ios, '9.0'
  target 'FamilyNexus' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
 use_frameworks!
 # Pods for Myapp
 pod 'Firebase/Core'
 pod 'Firebase/Database'
 pod 'GoogleMaps'
 pod 'GooglePlaces'
 pod 'SideMenu'
 pod 'Alamofire'
 pod 'AlecrimCoreData', :git =>    'https://github.com/Alecrim/AlecrimCoreData.git', :branch => 'develop'

target 'MyappTests' do
inherit! :search_paths
# Pods for testing
pod 'GoogleMaps'
pod 'Alamofire'
end

target 'MyappUITests' do
inherit! :search_paths
# Pods for testing
pod 'GoogleMaps'
pod 'Alamofire'
end
end

Error image

1 个答案:

答案 0 :(得分:0)

版本出错了。

我将google maps pod的版本降级为pod 'GoogleMaps', '2.1.0'