adding resources to static library in iPhone
-
11-06-2021 - |
Pregunta
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 hay solución correcta
Otros consejos
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.
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow