I have created a swift framework for distribution to private customers and its the first time I have created an iOS framework so I am very clueless about a lot of things. Is
Here is a fantastic tutorial demonstrates how to hide implementation of Swift framework when distributing to Cocoapods:
https://crafttang.com/2017/10/12/hide-implementation-of-swift-framework-when-distri/