GoogleMaps SDK 1.10.21020.0更新iOS
问题描述:
只是试图更新我的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.
答
您还没有更新的宝石。尝试sudo gem安装cocoapods 然后清理项目cmd + shift + k
。然后在您的框架搜索路径中(在构建设置中)使用$inherited
。然后安装一个podfile并提及所有你需要的依赖关系。这个程序可能会帮助你
感谢百万队友,我也必须运行以下内容:1)'pod repo remove master' 2)'pod setup' –