问题
I have been working with googles map SDK and I haven't had any problems until I added another dependency in my podfile. I get this error in Xcode saying, "Module 'Google Maps' not found" where I have '@import GoogleMaps'. If I take out the new pod the error goes away and everything works fine. I just recently started using cocoaPods, Is there something I'm missing in my podfile?
platform :ios, '6.1'
pod 'SDWebImage', '~>3.7'
source 'https://github.com/CocoaPods/Specs.git'
pod 'GoogleMaps'
回答1:
You just have to add
target 'Your Project' do
pod 'SDWebImage', '~>3.8'
pod 'GoogleMaps'
target 'Your ProjectTests' do
# Pods for testing
end
The project will run fine now..
来源:https://stackoverflow.com/questions/37580829/module-google-maps-not-found-after-adding-another-dependency-on-xcode