adding resources to static library in iPhone
-
11-06-2021 - |
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
Pas de solution correcte
Autres conseils
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.
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow