0

I have an app on the App Store and I have to create another app. This other app has some of the same functionalities as the first app. So I wanted to create a framework to put the common code in and use it inside the apps. Unfortunately, this framework has to change to add more features and improvements.

I saw that dynamic libraries can update the library code without any change to an app already pushed to the App Store. But this is reserved for Apple. Also, since iOS 8, we can create a dynamic framework which includes dynamic libraries. So is it possible to have the same, meaning if I update my dynamic framework, it also updates the app without having to push to the App Store again and face app review process?

If not, do you have some clues/recommendation to achieve that?

HangarRash
  • 7,314
  • 5
  • 5
  • 32
A.Ozda
  • 39
  • 9
  • Interesting, where you read/saw "dynamic libraries can update the library code without any change on app already pushed on App Store" – SPatel Nov 08 '22 at 18:31
  • Here for exemple (sentence highlighted in green) : https://medium.com/@zippicoder/libraries-frameworks-swift-packages-whats-the-difference-764f371444cd But after it mention that only Apple is able to do that – A.Ozda Nov 08 '22 at 18:36
  • I guess that sentence is saying when you update you iOS version then app will automatically linked to latest system frameworks(e.g UIKit) – SPatel Nov 08 '22 at 18:51
  • Af far i know once you submit app to the app store then you can't change single line of code in that app – SPatel Nov 08 '22 at 18:53
  • Yes that's why I was confused. Dynamic library can do that but we cannot create them directly without framework but dynamic framework embed dynamic library so I was lost a bit on, is it really impossible :D – A.Ozda Nov 08 '22 at 18:53
  • Also Swift is statically typed language(not like java script) – SPatel Nov 08 '22 at 18:57

1 Answers1

1

Dynamic Framework is a bit different from the understanding you have. Please read apple documents in more detail for that.

Currently only way to achieve what you expect is to push code on App Store as hidden, and based on some server API configuration update your content accordingly (Firebase Remote Config is one such good example if security is not that big a concern)

Meenakshi Rai
  • 51
  • 1
  • 5
  • I see your point, thank you! So currently if I integrate my framework to a client app, the client have to push to Appstore his app each time I do an update on my framework, and there is no way to change that ? – A.Ozda Nov 08 '22 at 18:47
  • 1
    No way to change that. Any change in dynamic framework code needs to be pushed to App Store each time – Meenakshi Rai Nov 09 '22 at 03:56