尝试更新iOS应用程序的GoogleMaps SDK版本。我正在运行Xcode 7.1并按照https://developers.google.com/maps/documentation/ios-sdk/start的说明进行操作。不幸的是,我似乎无法运行以下内容:
pod install
在终端。我试图将'$(继承)'标志添加到我的项目中,删除并重新创建我的Podfile,更新pod等,但似乎没有让我更新SDK。下面是运行pod install命令后终端吐出的代码:
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.
答案 0 :(得分:1)
您尚未更新宝石。尝试 sudo gem install cocoapods
然后清理项目cmd + shift + k
。然后在您的框架搜索路径中(在构建设置中)使用$inherited
。然后安装podfile并提及您需要的所有依赖项。此过程可能会对您有所帮助