Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Code signature check on update failed: Error Domain=NSOSStatusErrorDomain Code=-67050 "The operation couldn’t be completed. (OSStatus error -67050.)" UserInfo=0xb3f3490 #280

Open
allenfisher opened this Issue · 4 comments

3 participants

Allen Fisher Yo-An Lin Robin Andersson
Allen Fisher

Does anyone have any idea what this means? I've just moved out to Sparkle's tip this morning. We use our Developer ID on our app as part of the build, so I created two versions of the app with different version numbers. Place one in a zip file on our update server, Sparkle downloads it, unzips it, and then I get this:

2013-06-21 20:22:07 +0000: ===== My App =====
2013-06-21 20:22:24 +0000: Extracting /Users/me/Library/Application Support/My App/My App 2014.2001/MyApp.zip using 'ditto -x -k - "$DESTINATION"'
2013-06-21 20:22:32 +0000: Code signature check on update failed: Error Domain=NSOSStatusErrorDomain Code=-67050 "The operation couldn’t be completed. (OSStatus error -67050.)" UserInfo=0xb3f3490 {SecCSArchitecture=i386}

I tried also signing the zip file as well. I get no errors on signing or verification. If I've pulled the wrong code let me know and I'll go pull the tip on the CodeSigning branch

Allen Fisher

I dug into this deeper. It turns out Xcode was signing my app improperly, and when you do a codesign -vv on it, it says that its designated requirement is not satisfied. That would have been a better console message than the above. I was looking in the Sparkle code at SUCodeSigningVerifier.m, and noticed that it had a bunch of logging in it. How's come we don't see that logging information in the Console?

Yo-An Lin

I have the same issue. I actually ran codesign package successfully with --deep and -vv , but the update tells me the same error:

2013-11-14 06:27:59 +0000: ===== GoTray =====
2013-11-14 06:40:18 +0000: Code signature check on update failed: Error Domain=NSOSStatusErrorDomain Code=-67050 "The operation couldn’t be completed. (OSStatus error -67050.)" UserInfo=0x608000473bc0 {SecCSArchitecture=x86_64}
2013-11-14 06:40:19 +0000: Sparkle Error: An error occurred while extracting the archive. Please try again later.
2013-11-14 06:40:19 +0000: Sparkle Error (continued): The update is improperly signed.
Robin Andersson

@c9s Did you solve this? Because I have the same problem now,

codesign verify result in:

valid on disk
satisfies its Designated Requirement

Ran codesign display to validate that the same certificate was used to sign both the current version and the new version.

Also gone through all checks mentioned by furbo that the application has been properly signed.

Robin Andersson

Found out what it was with the help of: #280

I did the following procedure:

  1. Archive the app to developer signed application
  2. Move the archived app in finder my update folder
  3. Zip the archived app

This broke some symlink or something in the application (even though everything said it was valid), so I had to do it in the following order:

  1. Archive the app to developer signed application
  2. Zip the archived app
  3. Move the zipped app in finder to my update folder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.