2012-06-23 26 views
7

我們有一個OS X的應用程序,我們通過我們自己的網站發佈,它被捆綁在一個偏好窗格中,並帶有3個守護程序。由於10.7.4守護進程的一個已經不運行和OS X這樣說:爲什麼OS X 10.7.4要我將應用程序移至垃圾箱?

YZ can't be opened. You should move it to the Trash.

控制檯是不是對我非常有幫助,但是,提供此錯誤消息:

23.06.12 18:22:15,284 com.apple.launchd.peruser.501: 
([0x0-0x176176].com.bananaglue.control.helper[1902]) 
Exited: Killed: 9 

在OS X 10.8上也是如此。我們沒有改變任何東西,並且以前運行時沒有錯誤。

任何提示如何解決這個問題?

回答

7

檢查如下解釋:

The app’s authorization has been revoked. Although this app was signed by an identified developer, the certificate for this app has been revoked. There may be a problem with it. The app cannot be opened.

報價由Krystof Vasa燃料集體:

Apple is for some (to-me unknown) reason enabling the 10.8's Gate Keeper feature already in 10.7.4. Gate Keeper is supposed to let you prevent non-AppStore or non-signed apps from launching. Gate Keeper settings are in System Preferences > Security & Privacy - make sure it's set to Anywhere. If this doesn't help either, here's a guide how to disable Gate Keeper, which shouldn't be running in 10.7.4 anyway.

禁用GateKeeper的運行以下命令:

sudo spctl --master-disable 

也許你可以聯繫Krystof瓦薩並詢問他們如何完全解決問題。

+0

你也可以運行'sudo spctl --assess --verbose = 4 '來看看它是否會解釋它認爲是錯誤的。同樣,'codesign -v -vvv '。 –

+0

此錯誤的評估結果爲:CSSMERR_TP_CERT_REVOKED。我知道現在該做什麼。感謝你們兩位的指出。 – b00tsy

2

有一個較少的「大錘」方式來解決這個問題。我今天就遇到了這個問題,它的發生是因爲兩兩件事的組合:檢疫擴展屬性設置的應用程序包和簽名被打破,使得打字:在

codesign -vv <app bundle> 

結果:

<app bundle>: code has no resources but signature indicates they must be present 

您可以在終端中輸入ls -la @來查看擴展屬性。它會在文件上顯示「com.apple.quarantine」。

而不是禁用網閘,可以使用下面的終端命令刪除所有擴展的文件屬性:

xattr -c <app bundle> 

我周圍的Googling,看看我是否能找出簽名究竟是如何打破所以我可以解決它(我是這家公司的新開發人員)並且遇到了這個問題。

完全禁用網守不是我推薦的。當Gatekeeper警告你某些事情時,你會得到關於它的更多信息,以及它可能會幫助你避免意外運行你不想運行的事情。

+0

哇! 'xattr -c '做到了!非常感謝! –

相關問題