【发布时间】:2017-04-26 22:25:57
【问题描述】:
我在使用 pod 将 Google Maps IOS Utilities(用于标记聚类)添加到我的 swift xcode 项目时遇到问题。
当我运行 pod install 时,它失败并出现以下错误:
“Pods-App”目标具有传递依赖关系,包括静态 二进制文件: (/Users/warrick/Projects/orix/App/Pods/GoogleMaps/Subspecs/Base/Frameworks/GoogleMapsBase.framework, /Users/warrick/Projects/orix/App/Pods/GoogleMaps/Subspecs/Maps/Frameworks/GoogleMapsCore.framework, 和 /Users/warrick/Projects/orix/App/Pods/GoogleMaps/Subspecs/Maps/Frameworks/GoogleMaps.framework)
Google 地图工作正常,但我一添加实用程序就崩溃了。
此错误消息是什么意思,我该如何解决?
这是我的 Podfile:
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
workspace '../app'
target 'App' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
pod 'GoogleMaps'
pod 'Google-Maps-iOS-Utils'
# Firebase - used for notifications
pod 'Firebase/Core'
pod 'Firebase/Messaging'
target 'AppTests' do
inherit! :search_paths
# Pods for testing
end
end
【问题讨论】:
标签: ios swift google-maps google-maps-api-3