Hi Team,
We need to distribute custom SDK in iOS. As our deplyoment target is iOS 8 onwards, we preferred to distribute in the form of framework.
We also have plans to use the same SDK for our own Apps published in app Store.
But there are coutner arguments as listed below:
1. As this as framework is bundled with each app and sandboxing will not allow to share this framework across the apps, it will unnecessorly increase the disk size of app and we dont get benifit of dynamic sharing as in case of OS X.
2. Static library will reduce the app size.
I went through Building Modern Frameworks for iOS and it mentioned that it is useful to have frameworks if multple apps uses frameworks ( we already have our own 3 apps that could use our frameowrk). I understand its useful in case of app and its extension.
My question is with the App sandboaxing in place (each app having framework in its bundle), how it make sense to have frameworks.
Suppose we have App1 and App2 having our framework (code signed), then will iOS take care of maintianing a single copy of framewok in the disk? (assuming both are using same set of interfaces and versions)
Is there a option to publish this framework as a shared API service?
Thanks in advance.
Thanks and regards
Vani