adding resources to static library in iPhone
-
11-06-2021 - |
문제
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
올바른 솔루션이 없습니다
다른 팁
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.
제휴하지 않습니다 StackOverflow