【发布时间】:2017-02-23 23:55:48
【问题描述】:
我正在尝试使用 xcode 8 和谷歌地图 cocoapods 创建一个新项目。我读过他们的框架是 swift 3.0,但是每当我在项目上安装框架并打开 .xcworspace 文件时,xcode 会自动提示转换为 3.0 或 2.3。该项目是在swift 3.0中新建的项目。
我正在运行 cocoapods 1.0.1。再次感谢大家的回复。
podfile 的内容:
# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'
target 'googleMaps' do
use_frameworks!
pod 'GoogleMaps'
pod 'GooglePlaces'
target 'googleMapsTests' do
inherit! :search_paths
# Pods for testing
end
target 'googleMapsUITests' do
inherit! :search_paths
# Pods for testing
end
end
【问题讨论】:
-
你能给我们看看你的 podfile 的内容吗?
标签: swift xcode google-maps cocoapods