Reputation: 270
I am creating a Cocoa Touch framework in objective C, how can I hide the implementaion (.m) files when it is distributed via Cocoapods. I know that hiding implementation is easy in static library but How can I do the same in frameworks? Any help would be appreciated thanks.
Upvotes: 0
Views: 453
Reputation: 615
A framework is a collection of resources; it collects a static library and its header files into a single structure that Xcode can easily incorporate into your projects.
So framework actually hides your implementation, as it just contains library with headers and resources.
You should distribute a builded framework via cocoapods.
Check this: How to use pod package to create a compiled framework
Upvotes: 1