简体   繁体   English

GoogleMaps SDK 1.10.21020.0更新iOS

[英]GoogleMaps SDK 1.10.21020.0 Update iOS

Just trying to update my GoogleMaps SDK version for an iOS application. 只是尝试为iOS应用程序更新我的GoogleMaps SDK版本。 I'm running Xcode 7.1 and following the directions at https://developers.google.com/maps/documentation/ios-sdk/start . 我正在运行Xcode 7.1,并按照https://developers.google.com/maps/documentation/ios-sdk/start上的说明进行操作 Unfortunately I cannot seem to run the following: 不幸的是,我似乎无法运行以下命令:

pod install

in the terminal. 在终端。 I have tried to add the '$(inherited)' flag into my project, deleting and recreating my Podfile, updating pod, etc. but nothing seems to let me update the SDK. 我试图将'$(inherited)'标志添加到我的项目中,删除并重新创建我的Podfile,更新Pod等,但是似乎没有什么可以让我更新SDK。 Below is the code the terminal spits out after I run the pod install command: 下面是我运行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.

You have not updated the gems. 您尚未更新宝石。 Try sudo gem install cocoapods then clean the project cmd + shift + k . 尝试sudo gem install cocoapods,然后清理项目cmd + shift + k Then in your Framework Search Path (in build settings) use $inherited . 然后在框架搜索路径(在构建设置中)中使用$inherited then install a podfile and mention all the dependencies you need. 然后安装一个podfile并提及您需要的所有依赖项。 This procedure might help you 此过程可能对您有帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM