Cocoapods importing a framework to source code Cocoapods importing a framework to source code objective-c objective-c

Cocoapods importing a framework to source code


EDIT This process is now entirely handled by the vendored_frameworks option. This handles preserving the paths, the framework search paths, and linking to the project.


To include a framework you can use:

s.vendored_frameworks = 'path/to/SomeFramework.framework'

To include bundle files do:

s.resources ='path/to/SomeBundle.bundle'