I am creating an 'SDK' which will enable communication with a piece of custom hardware (via BLE, abstracting my comm protocol to async methods/callbacks, on various classes all Obj-C). I wish to package this SDK so I can distribute it to users so they can build apps using this hardware. I want to provide an .h file(s) and a pre-compiled library (closed-source).
What's the best practice here? Shall I choose to create a .framework, .a, .dylib? what's the difference between them and their usage cases? what's the correct way to create the needed library?
many thanks