2017-04-06 146 views
0

我試着去使用谷歌地圖,當我嘗試將地圖添加到我的觀點我得到這個錯誤,當我運行程序:鏈接器命令退出代碼1失敗:谷歌地圖

Linker command Failed with Exit code 1 (use -v to see invocation) 

我該怎麼辦解決這個問題?

這是我使用

# platform :ios, '9.0' 

target 'FlexxRide' do 
# Comment the next line if you're not using Swift and don't want to use    
dynamic frameworks 
use_frameworks! 

# Pods for FlexxRide 
    pod 'GoogleMaps' 
    pod 'GooglePlaces' 
    pod 'Firebase/Core' 
    pod 'Firebase/Database' 

target 'FlexxRideTests' do 
    inherit! :search_paths 
    # Pods for testing 
end 

target 'FlexxRideUITests' do 
inherit! :search_paths 
# Pods for testing 
end 

end 

回答

0

使用的CocoaPods後podfile,你需要使用的,而不是.xcodeproj文件.xcworkspace文件。這個問題應該在您使用.xcworkspace文件構建您的項目後解除

相關問題