CocoaPods - Unable to find a specification for `GoogleMaps`
Try removing source 'https://github.com/CocoaPods/Specs.git'
and moving use_frameworks!
out of the target block. Moreover you don't need to manually set the git path for both Alamofire and MarqueeLabel.
Try this:
platform :ios, '9.0'
use_frameworks!
target 'Migapixel' do
pod 'GoogleMaps'
pod 'Alamofire'
pod 'MarqueeLabel/Swift'
# Pods for Migapixel
end
post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES'] = 'NO' end end end
target 'MigapixelTests' do
inherit! :search_paths
end
target 'MigapixelUITests' do
inherit! :search_paths
# Pods for testing
end
Edit:
It seems that there's something wrong with your local repo. Try cleaning and reinstalling:
pod repo remove master
pod setup
i resolved the issue like that with these step:
- open terminal.
- go to your project path.
type:
pod repo update
- install pod again.