ios – iTunes Connect上的无效签名(二进制无效)

我知道这是一个重复的问题,但在其他所有问题我无法找到解决方案,所以我重试发布问题与更多的细节.

我的应用程序存档我的应​​用程序在xcode5的iOS7与版本方案和正确的配置分配

那就是屏幕:

这是在项目

这是目标

我尝试做许多不同的资产,我确定我的建筑存档是发布,但iTunesConnect的答案是每次都是一样的:

Dear developer,

We have discovered one or more issues with your recent delivery for
“MyApp”. To process your delivery,the following issues must
be corrected:

Invalid Signature – Make sure you have signed your application with a
distribution certificate,not an ad hoc certificate or a development
certificate. Verify that the code signing settings in Xcode are
correct at the target level (which override any values at the project
level). Additionally,make sure the bundle you are uploading was built
using a Release target in Xcode,not a Simulator target. If you are
certain your code signing settings are correct,choose “Clean All” in
Xcode,delete the “build” directory in the Finder,and rebuild your
release target.

Once these issues have been corrected,go to the Version Details page
and click “Ready to Upload Binary.” Continue through the submission
process until the app status is “Waiting for Upload.” You can then
deliver the corrected binary.

Regards,

The App Store team

和无效的二进制

我变得疯狂了解如何唯一这个问题,任何身体有这样做的想法?

谢谢.

****测试响应****

运动屏幕
是正确的

解决方法

在Xcode中,在目标级执行以下操作:

>首先选择Release配置的配置配置文件. (适用于任何SDK)
配置文件必须与应用程序的Bundle ID相匹配(正如您在常规选项卡中看到的).
>在代码签名身份中,点击任何iOS SDK的子菜单,并确保选择自动.如果看不到下面的内容
>清除所有和存档.

选择CodeSign身份:

在步骤2中,如果您无法选择自动,则表示您可能没有AppID和应用程序的Bundle ID之间的匹配.
您选择的配置配置文件指向AppID.

如果是这种情况,请登录开发人员门户并确保您使用的配置文件指向正确的AppID.

要验证.ipa或.app在您提交之前尝试这些命令.
然后看看打印输出,看看是否全部看起来正确.也验证到期日.

$cd <where the app is>
$unzip *.ipa
$cd Payload
$codesign -d --entitlement - *.app
$codesign --verify -dvvv *.app
$security cms -D -i *.app/embedded.mobileprovision

相关文章

当我们远离最新的 iOS 16 更新版本时,我们听到了困扰 Apple...
欧版/美版 特别说一下,美版选错了 可能会永久丧失4G,不过只...
一般在接外包的时候, 通常第三方需要安装你的app进行测...
前言为了让更多的人永远记住12月13日,各大厂都在这一天将应...