Use use_framework! in Podfile which have both Swift & Objective C/C Pod

1k Views Asked by At

I know use_framework! is used for swift libraries but what to do if want to use Obj-C and Swift libraries in one project

Is there any method to use

use_framework! for seperate pods

1

There are 1 best solutions below

3
On

With cocoa pods 1.1.1 you can now have use_frameworks! inside one or more targets in your Podfile. This allows you to use frameworks for some targets and not for others!