使用CoCoapods添加带有2个平台的库

时间:2023-01-27 11:02:18

I can’t import Instructions into my project via cocoa pods because my project still use platform 6.0.

我不能通过可可豆荚将指令导入我的项目,因为我的项目仍然使用平台6.0。

So i need import Instruction (platform: 8.0) https://github.com/ephread/Instructions , how can i add. instructions into target iPadPOS.

所以我需要导入指令(平台:8.0)https://github.com/ephread/Instructions,我该如何添加。目标iPadPOS的说明。

使用CoCoapods添加带有2个平台的库

1 个解决方案

#1


0  

If your project is targeted to iOS 6 and you try to use a library, which uses iOS 8 features then you cannot use that library in your project. It uses apis, which are not available in iOS 6 or 7. You have to change your app to require iOS 8+.

如果您的项目针对iOS 6,并且您尝试使用使用iOS 8功能的库,那么您无法在项目中使用该库。它使用apis,这在iOS 6或7中不可用。您必须将您的应用更改为需要iOS 8+。

#1


0  

If your project is targeted to iOS 6 and you try to use a library, which uses iOS 8 features then you cannot use that library in your project. It uses apis, which are not available in iOS 6 or 7. You have to change your app to require iOS 8+.

如果您的项目针对iOS 6,并且您尝试使用使用iOS 8功能的库,那么您无法在项目中使用该库。它使用apis,这在iOS 6或7中不可用。您必须将您的应用更改为需要iOS 8+。