2015-11-05 81 views
0

只是試圖更新我的iOS應用程序的GoogleMaps SDK版本。我正在運行Xcode 7.1並按照https://developers.google.com/maps/documentation/ios-sdk/start的指示操作。不幸的是,我似乎無法運行以下內容:GoogleMaps SDK 1.10.21020.0更新iOS

pod install 

在終端中。我試圖將'$(inherited)'標誌添加到我的項目中,刪除並重新創建Podfile,更新pod等,但似乎沒有任何東西讓我更新SDK。下面是終端吐出來的是我的代碼運行吊艙安裝命令後:

Updating local specs repositories 
Analyzing dependencies 
Downloading dependencies 
Using GoogleMaps (1.10.1) 
Generating Pods project 
Integrating client project 
Sending stats 
Sending stats 
Pod installation complete! There is 1 dependency from the Podfile and 1 total 
pod installed. 

[!] CocoaPods was not able to update the `master` repo. If this is an unexpected issue and persists you can inspect it running `pod repo update --verbose` 

[!] The `projectName [Debug]` target overrides the `FRAMEWORK_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods/Pods.debug.xcconfig'. This can lead to problems with the CocoaPods installation 
    - Use the `$(inherited)` flag, or 
    - Remove the build settings from the target. 

[!] The `projectName [Release]` target overrides the `FRAMEWORK_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods/Pods.release.xcconfig'. This can lead to problems with the CocoaPods installation 
    - Use the `$(inherited)` flag, or 
    - Remove the build settings from the target. 

回答

1

您還沒有更新的寶石。嘗試sudo gem安裝cocoapods 然後清理項目cmd + shift + k。然後在您的框架搜索路徑中(在構建設置中)使用$inherited。然後安裝一個podfile並提及所有你需要的依賴關係。這個程序可能會幫助你

+0

感謝百萬隊友,我也必須運行以下內容:1)'pod repo remove master' 2)'pod setup' –

相關問題