ios - 传递依赖项,包括使用Google Map和集群的静态二进制文件

标签 ios google-maps swift3 cocoapods markerclusterer

我的Pod文件如下所示

# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'

target 'MyApp' do
  # Comment this line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  # Pods for MyApp

    pod 'GoogleMaps'
    pod 'Alamofire', '~> 4.0’
    pod 'SDWebImage', '~>3.8'
    pod 'Applozic', '~>3.8'
    pod 'Google-Maps-iOS-Utils'
end

当我安装所有说明了此框架的pod时,它给了我这个错误

[!]“Pods-MyApp”目标具有传递性依赖项,其中包括静态二进制文件:(/Users/Mad/Downloads/MyApp/Pods/GoogleMaps/Frameworks/GoogleMaps.framework)

请帮我。

最佳答案

您必须在本地下载Utils存储库,然后导入到您的xcode项目中。可在此处找到分步指南:Integrating with Swift projects which use 'use_frameworks!' in the Podfile

关于ios - 传递依赖项,包括使用Google Map和集群的静态二进制文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44842142/

相关文章:

android - 使用谷歌地图路由

ios - AVAudioSession 从未停止

ios - 以编程方式在 ios 中创建水平滑动 View Controller 转换

iphone - 如何在 ios 中自定义键盘以使用其他语言

ios - 定位服务不会在其他人的测试 iPhone 上更新吗?

javascript - Google map 地点 javascript 文本搜索 : can't get radius to work

javascript - 从 markerclusterer 获取标记信息

ios - 导致我得到的文档错误 CognitoIdentityCredentials 无权执行 : dynamodb:UpdateItem on resource

ios - 如何将 UIView 移动到 ViewController Swift 3 的前面?

swift - Swift 中的前导二进制零