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



我的 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(

请帮助我。

我并不是说上面的答案是错误的,但我最近 cd 进入项目而不是导致相同输出的项目文件夹。

您必须在本地下载 Utils 存储库,然后导入到 xcode 项目中。分步指南可以在这里找到:与 Podfile 中使用 'use_frameworks!' 的 Swift 项目集成

最新更新