I am using Sparkle to update an application from 0.9.2
to 1.0.0
.
In the new update, I have changed the CFBundleIdentifier
of MyApp.app
from com.MyCompany.MyApp
to au.com.MyCompany.MyApp
.
When I test downloading this update (through Sparkle which is inbuilt to MyApp.app), it downloads the update and then gives me a window with this message:
An error occurred while extracting the archive. Please try again later.
Is there any other way, apart from having users reinstall the application, to have Sparkle recognise the old CFBundleIdentifier
and update it to the new one?
Once your app is approved and available for download on the Apple App Store, your Bundle ID cannot be changed.
A bundle ID or bundle identifier uniquely identifies an application in Apple's ecosystem. This means that no two applications can have the same bundle identifier. To avoid conflicts, Apple encourages developers to use reverse domain name notation for choosing an application's bundle identifier.
Open you project with XCode, select the top project item in the project navigator at the left. Then select TARGETS -> General. Bundle Identifier is found under Identity.
You can't change the identifier if you use .dmg
for updates.
.zip
with a DSA signature might work.
If you use .pkg
(or .sparkle_guided.pkg
) to deliver the update you can do whatever you want.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With