Cocoapods "use_frameworks!" issue

22 Oct 2015

Allright, here’s the story:

 

I was working on an Obj-C application and want to add a Swift project via cocoapods.

Added “use_frameworks!” to project’s podfile and installed successfully.

Made some adjustments, opened the project in order to see if everything is on track and …

Screen Shot 2015-10-22 at 6.16.49 PM

 

It turned out that one of the pods was using “.xib” and was calling it by;


    [[[NSBundle mainBundle] loadNibNamed:<#nibName#> owner:self options:nil] objectAtIndex:0];

 

After some research, find the cause

Screen Shot 2015-10-22 at 6.28.22 PM

 

However couldn’t figure out how can I “use_framework” just one pod, so I inserted Swift pod manually (luckily just dragged files and added some @objc stuff)

Heads up!