b-ray/cocoapods-static-frameworks

Pod bundle gets lost

Opened this issue · 3 comments

If a pod has its own bundle, it gets lost when doing the optimization with your plugin.
Is there any kind of configuration to skip some pods?

b-ray commented

There is currently no way to specify pods to be skipped, no, and I have no plans to implement this feature as of now, but a PR implementing this would be appreciated.

We're using this plugin in a large project with over a hundred of dependencies in production, some of these dependencies have an own resource-bundle, and it's working just fine there.
If you could share more information with me, or better a sample project reproducing this issue, I'd like to take another look.

For example, I was using this project FlagKit. They have their own bundle for the images. After using your optimisation, which is great btw, the flags were gone because the lib bundle couldn't be found. But I solved that by adding the images to my project.

b-ray commented

Please have a look at this example project: https://github.com/b-ray/statics-framework-example
It's a bare Xcode project with the mentioned CocoaPod and my optimisation enabled. I can load the images from FlagKit just fine.

Is your setup any different from the setup in my example?