使用Cocoapods降低项目的部署目标

时间:2018-03-21 20:18:33

标签: ios xcode cocoapods podfile deployment-target

我一直在创建一个具有默认开发目标的项目(我相信它是11.1)。无论出于何种原因,我认为最好将开发目标降低到10.0,这会产生36个错误,主要是我的类没有识别我正在导入的pod。

我不记得最初的目标,但我想知道它是否可能甚至可行地降低我的开发目标,同时不会破坏我的cocoapod集成。在这种情况下,我没有在我的podfile上设置全局平台:

# Uncomment the next line to define a global platform for your project

# platform :ios, '9.0'

target 'My Project' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  # Pods for Chris Heria

任何提示?

0 个答案:

没有答案