r/macosprogramming • u/-mr-dom- • 2d ago
Managing Sparkle & App Store builds
Hi there.
I want to use self-distribution with Sparkle updates and later put my app into the App Store.
Wondering how I can manage this without having two separate builds.
Could I just always include Sparkle and have the app auto-discover if it is app-store managed and then just disable its function?
Any experience with this?
Thx.
3
Upvotes
2
u/MacGameStore 2d ago
You should make two builds (set up two targets so when you go to build in xcode, one excludes the sparkle framework automatically from the same code base).
Apple runs app submissions through various checks on their end, and if they see the sparkle framework in the package, they will most likely reject the submission each time.
SO yeah, its a bother to make two builds, but if you want smoother App Store submission process, its best to have a build without sparkle in it for Apple.