Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add bundle target in podspec

Tags:

ios

cocoapods

I would like to make a podspec for this static library.

In the library's Xcode project, I have a .a target for the library, and a .bundle target for a bundle, containing assets needed by the library. This bundle is not a directory, it's just a bundle target with references to files.

Is there a way to include that .bundle in the podspec?

like image 451
Eric Avatar asked Sep 16 '26 10:09

Eric


1 Answers

What you're looking for is

s.resources ='path/to/SomeBundle.bundle'

like image 107
BigCheesy Avatar answered Sep 18 '26 00:09

BigCheesy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!