Sparkle.Framework not installing new updates after downloading. Error: An error occurred while extracting the file. Please try again later

Sparkle.Framework not installing new updates after downloading. Error: An error occurred while extracting the file. Please try again later

我正在使用 Sparkle 框架来更新我的应用程序。

它正在检查更新并下载它,但在安装时出现错误。

我无法理解为什么会出现此错误。

我已将我的 .app 文件压缩为 .zip 后上传到服务器。不知道为什么提取不出来

请帮忙。我是个大麻烦

015-09-08 11:43:30.075 Update[927:19428] Sparkle: ===== Update ===== 2015-09-08 11:43:30.076 Update[927:19428] Sparkle: Extracting using '/usr/bin/ditto' '-x' '-k' '-' < '/Users/Paxcel/Library/Caches/com.TechHeal.Update/Sparkle/Update 1.2/Update.zip' '/Users/Paxcel/Library/Caches/com.TechHeal.Update/Sparkle/Update 1.2' 2015-09-08 11:45:06.270 Update[927:19037] Sparkle: Code signature of the new version doesn't match the old version: cdhash H"def198d02dbf94943fc22c626bbb4b36d2248e5a". Please ensure that old and new app is signed using exactly the same certificate. 2015-09-08 11:45:06.305 Update[927:19037] Sparkle: host info: { build = 1; format = "bundle with Mach-O thin (x86_64)"; identifier = "com.TechHeal.Update"; requirements = ""; "signing-time" = ""; teamid = ""; version = "1.0"; } 2015-09-08 11:45:06.306 Update[927:19037] Sparkle: new info: { build = 2; format = "bundle with Mach-O thin (x86_64)"; identifier = "com.TechHeal.Update"; requirements = ""; "signing-time" = ""; teamid = ""; version = "1.2"; } 2015-09-08 11:45:06.308 Update[927:19037] Sparkle: The update archive isn't signed with a DSA key, and the app is signed with a new Code Signing identity that doesn't match code signing of the original app: Error Domain=NSOSStatusErrorDomain Code=-67050 "The operation couldn’t be completed. (OSStatus error -67050.)" UserInfo=0x60000027e880 {SecCSArchitecture=x86_64}. At least one method of signature verification must be valid. The update will be rejected.

错误报告更具体一些:

...

Code signature of the new version doesn't match the old version: cdhash H"def198d02dbf94943fc22c626bbb4b36d2248e5a". Please ensure that old and new app is signed using exactly the same certificate.

...

The update archive isn't signed with a DSA key, and the app is signed with a new Code Signing identity that doesn't match code signing of the original app:

...

检查您的代码签名