DISABLE ADBLOCK

ADBlock is blocking some content on the site

ADBlock errore

adding resources to static library in iPhone

StackOverflow https://stackoverflow.com/questions/10811609

Question

I am going to create a Static Library, But I am facing problem while adding my images and plists to it.

Is there any way to do this ? I have found some linke like This but it doesn't help me because not able to understand it.

Please help

No correct solution

OTHER TIPS

You can include non-traditional library resources like images or plists if you first create a cocoapod for your library and use this in your .podspec:

s.resources = 'LibraryName/**/*.{png,plist,xib,and,so,on}'

The client project that uses your cocoapod will then include your resources.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow