Adobe AIR Mac应用程序返回的代码无法满足指定的代码要求'

时间:2016-04-29 05:12:07

标签: macos air mac-app-store codesign

最初,我尝试将我们的Adobe AIR Mac应用程序与Mac Developer分发证书进行协同设置,该证书通常以"第三部分Mac开发人员应用程序:xxx"开头。稍后,我通过https://developer.apple.com/library/mac/technotes/tn2206/_index.html#//apple_ref/doc/uid/DTS40007919-CH1-TNTAG211阅读,其中讨论了通过codesign和spctl命令验证只需要证书是开发者ID证书(我使用'开发者ID应用程序:xxx&# 39):

  

与Gatekeeper一样,spctl只接受开发者ID签名的应用程序和   默认情况下从Mac App Store下载的应用程序。它会拒绝应用程序   使用Mac App Store开发或分发证书签名。

我的验证命令是:

./check-signature DEPLOY/Moonshine.app DEPLOY/Application.pkg
  

(c)2014 Apple Inc.保留所有权利。

     

DEPLOY / Application.app:是

     

DEPLOY / Application.pkg:是

spctl -a -t exec -vv DEPLOY/Application.app
  

DEPLOY / Application.app:已接受

     

source =开发者ID

     

倍率=安全   

     

origin =开发者ID申请:xxx(LS9K97G9DD)

这两个命令都重新调整了正面结果,如Apple开发者页面中所述。

当我们将应用程序提交到App Store时,我们返回了错误,例如" test-requirement:代码无法满足指定的代码要求"。我们还提供了Apple的建议(代码要求)链接:https://developer.apple.com/library/mac/technotes/tn2206/_index.html#//apple_ref/doc/uid/DTS40007919-CH1-TNTAG4,我们开始使用以下命令在我们的本地验证.app文件:

codesign -vvvv -R="anchor apple" DEPLOY/Applications.app

我们开始收到Apple发送给我们的同样错误:

  

- 准备:/ Users / santanu / Documents / Adob​​e Flash Builder 4.7 / ProjectFolder / build / DEPLOY / Application.app / Contents / Frameworks / Adob​​e   AIR.framework /版本/电流/。   --validated:/ Users / santanu / Documents / Adob​​e Flash Builder 4.7 / ProjectFolder / build / DEPLOY / Application.app / Contents / Frameworks / Adob​​e   AIR.framework /版本/电流/.

     

DEPLOY / Application.app /:在磁盘上有效

     

DEPLOY / Application.app /:满足其指定要求

     

test-requirement:代码未能满足指定的代码要求

稍后,我还尝试使用Mac Developer分发证书(第三方Mac开发人员应用程序:xxx)代替开发者身份证书,但这并没有改善这种情况。

我现在无法理解在我们的代码签名过程中我们应该使用哪些证书来修复此代码,但代码无法满足指定的代码要求'错误,或任何其他方式,我们可以解决这个问题?

0 个答案:

没有答案