CocoaPods how to add a rowset?

What should a line look like in resource_bundles.podspec if I just want to include my line files named "MyAwesomeLib.strings" from all .lproj folders?

I tried the following:

s.resource_bundle = { 'MyAwesomeLibResources' => ['MyAwesomeLib/*.lproj/MyAwesomeLib.strings'] }

But that did not work. It builds the .bundle file perfectly, but not all the cropped .lproj folders are inside it, but only one MyAwesomeLib.strings file outside of any folder.

Any idea to include MyAwesomeLib.strings files from all .lproj folders, but without including all the other unwanted file in the .lproj folders?

+4
source share
2 answers

A simple use of "directory / *" will support the structure of the fielder. eg.

s.ios.resource_bundle = { 'grabKitBundle' => 'Resources/*'}

"" , , .

+1

, , . ?

0

All Articles