首先让我说我知道有无数这样的问题,但我相信我已经检查了前面问题中的所有原因,仍然有问题。
我的应用程序正在使用Qt
,所以我的提交过程没有通过Xcode
。在过去,我提交申请没有太多麻烦。
这是我的codesign
命令:
codesign --deep -f -s '3rd Party Mac Developer Application: Me' -v --entitlements Entitlements.plist MyApp.app
这似乎有效,如果我codesign
用来验证我得到:
MyApp.app: valid on disk
MyApp.app: satisfies its Designated Requirement
接下来,我使用productbuild
生成我的.pkg
文件以通过Application Loader
.
productbuild --component MyApp.app /Applications --sign '3rd Party Mac Developer Installer: Me' MyApp.pkg
请注意,我在两个命令中都使用了类型证书,3rd Party Mac Developer
并且我正在使用Application
证书codesign
和Installer
.productbuild
当我提交MyApp.pkg
通过iTunesConnect
时,ApplicationLoader 3.1
我得到:
错误 ITMS-90239:“无效签名。代码对象根本没有签名。路径 [MyApp.app/Contents/MacOS/MyApp] 处的二进制文件包含无效签名。确保您已使用分发证书对应用程序进行签名,而不是临时证书或开发证书。
显然我的代码对象是签名的,所以问题一定是它认为我正在使用ad hoc
或development
证书,但正如你从我使用的命令中看到的那样,事实并非如此。
有任何想法吗?