【发布时间】:2016-08-03 10:03:49
【问题描述】:
我已经为此苦苦挣扎了几个小时,我不明白出了什么问题。我仔细遵循了谷歌的 iOS 集群设置,但无论我做什么它都不起作用。我收到此错误:
.../Pods/Google-Maps-iOS-Utils/src/Clustering/Algo/GMUNonHierarchicalDistanceBasedAlgorithm.m:22:9:未找到“GoogleMaps/GMSGeometryUtils.h”文件
我已经安装了以下内容:
Using Alamofire (3.4.1)
Using Google-Maps-iOS-Utils (1.0.0)
Using GoogleMaps (1.9.2)
Pod 文件:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.3'
use_frameworks!
pre_install do |installer|
def installer.verify_no_static_framework_transitive_dependencies; end
end
target 'Happevents' do
pod 'GoogleMaps' # Objective-C pod
pod 'Google-Maps-iOS-Utils' # Objective-C pod
pod 'Alamofire', '~> 3.4' # Swift pod
end
【问题讨论】:
-
我发现的一件事是,如果我删除 use_frameworks!然后 Alamofire 会出错。
标签: ios swift google-maps cocoapods markerclusterer