【问题标题】:GoogleMaps SDK 1.10.21020.0 Update iOSGoogleMaps SDK 1.10.21020.0 更新 iOS
【发布时间】:2016-02-05 19:49:32
【问题描述】:

只是想为 iOS 应用程序更新我的 GoogleMaps SDK 版本。我正在运行 Xcode 7.1 并按照https://developers.google.com/maps/documentation/ios-sdk/start 的说明进行操作。不幸的是,我似乎无法运行以下内容:

pod install

在终端中。我尝试将“$(inherited)”标志添加到我的项目中,删除并重新创建我的 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.

【问题讨论】:

    标签: ios xcode swift google-maps cocoapods


    【解决方案1】:

    您尚未更新宝石。试试 sudo gem install cocoapods 然后清理项目cmd + shift + k。然后在您的框架搜索路径(在构建设置中)使用$inherited。然后安装一个 podfile 并提及您需要的所有依赖项。此过程可能会对您有所帮助

    【讨论】:

    • 感谢百万队友,我还必须运行以下命令:1)pod repo remove master 2)pod setup
    猜你喜欢
    • 2015-05-21
    • 1970-01-01
    • 1970-01-01
    • 2023-02-16
    • 2022-08-04
    • 2019-10-15
    • 2013-10-08
    • 2016-10-20
    • 1970-01-01
    相关资源
    最近更新 更多