Reputation: 166
I been struguling with this for hours now, I can't understand what is wrong. I followed googles iOS cluster setup carefully, but no mater what I do it doesn't work. I'm getting this error:
.../Pods/Google-Maps-iOS-Utils/src/Clustering/Algo/GMUNonHierarchicalDistanceBasedAlgorithm.m:22:9: 'GoogleMaps/GMSGeometryUtils.h' file not found
I have installed the following:
Using Alamofire (3.4.1)
Using Google-Maps-iOS-Utils (1.0.0)
Using GoogleMaps (1.9.2)
Pod file:
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
Upvotes: 1
Views: 2828
Reputation: 1571
There is a manual from Google how to use their library with Swift and use_frameworks! you could also check this one.
Upvotes: 0
Reputation: 234
I installed Google-Maps-iOS-Utils in my project by pod installation. Please update your pod file
target 'Happevents' do
pod 'GoogleMaps' # Objective-C pod
pod 'Google-Maps-iOS-Utils', :git => 'https://github.com/googlemaps/google-maps-ios-utils'
pod 'Alamofire', '~> 3.4' # Swift pod
end
Upvotes: 1