Mark117 Mark117 - 1 year ago 96
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 Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download