使用 CoCoapods 添加具有 2 个平台的库
Add library with 2 platform using CoCoapods
我无法通过 cocoa pods 将说明导入我的项目,因为我的项目仍在使用平台 6.0。
所以我需要 import Instruction (platform: 8.0) https://github.com/ephread/Instructions ,我该如何添加。指令进入目标 iPadPOS。
如果您的项目以 iOS 6 为目标,并且您尝试使用一个使用 iOS 8 功能的库,那么您不能在您的项目中使用该库。它使用的 API 在 iOS 6 或 7 中不可用。您必须更改您的应用程序以要求 iOS 8+。
我无法通过 cocoa pods 将说明导入我的项目,因为我的项目仍在使用平台 6.0。
所以我需要 import Instruction (platform: 8.0) https://github.com/ephread/Instructions ,我该如何添加。指令进入目标 iPadPOS。
如果您的项目以 iOS 6 为目标,并且您尝试使用一个使用 iOS 8 功能的库,那么您不能在您的项目中使用该库。它使用的 API 在 iOS 6 或 7 中不可用。您必须更改您的应用程序以要求 iOS 8+。