Mark117 Mark117 - 11 days ago 6
iOS Question

Building a Pod Spec that removes implementation (.m) files when downloading pod

I've created a framework for one of my apps and I'm trying to release the framework as a cocoapod.

I'm looking to hide my implementation files from the users who download the pod.

Is it possible to ignore .m files in a podspec?

I believe I am overcomplicating this and I am heading in the wrong direction. Does anyone have any advice?

Answer

Why there are .m files in your library ? Create a *.a static library with *.h public (which will have all your function calls).