How to do app rename on update? #2261
-
I went through this #1444 and followed the steps mentioned in it. But it doesn't seem to work for me. I am not sure what I am missing. Can someone elaborate on how to achieve this? I am using Sparkle 1.27.0 via cocoapods. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You need to compile your own build of Sparkle setting The normalization process isn't that great. Users can generally rename an app bundle to whatever they want, and this setting forces a specific rename which may override the user's choice. That's why it's not supported as easily as you may like. |
Beta Was this translation helpful? Give feedback.
You need to compile your own build of Sparkle setting
SPARKLE_NORMALIZE_INSTALLED_APPLICATION_NAME = 1
inConfigCommon.xcconfig
, then setSUBundleName
orCFBundleName
in your app, deliver an update, and then on the next update after that the rename will take effect. And maybe you want to switch appcasts, but that's up to you. And finally, disable and setSPARKLE_NORMALIZE_INSTALLED_APPLICATION_NAME = 0
when you're done and it's no longer needed.The normalization process isn't that great. Users can generally rename an app bundle to whatever they want, and this setting forces a specific rename which may override the user's choice. That's why it's not supported as easily as you may like.