您上传的二进制文件无效。签名无效,或者未签名

时间:2009-10-08 16:21:07

标签: objective-c

现在,我确信您在苹果商店尝试提交申请时已经看到了很多错误消息。我也是如此,但是我已经按照开发人员门户网站上的描述完成了所有工作。 得到所有配置文件和证书正确(三重检查),当我尝试在分发下构建甚至在这里它不会给出错误。 正如开发人员门户网站所建议的那样,我在构建日志中检查了embedded.mobileprovision和代码符号,并且这些也存在! 所以我的问题是这里可能出现什么问题,哪里会出错(我的图标也是正确的,57px x 57px以及区分大小写的名称为Icon.png)。 我真的被困在这里了。 我可以从我的构建日志中提供一些输出,也许有人可以从中获取一些有用的信息。

Processing "/Users/example/Downloads/Source-3/exampleMobileApp 3/build/Distribution-iphoneos/DrillDownApp.app/Info.plist" Info.plist
cd "/Users/example/Downloads/Source-3/exampleMobileApp 3"
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
<com.apple.tools.info-plist-utility> Info.plist -genpkginfo "/Users/example/Downloads/Source-3/exampleMobileApp 3/build/Distribution-iphoneos/DrillDownApp.app/PkgInfo" -expandbuildsettings -format binary -o "/Users/example/Downloads/Source-3/exampleMobileApp 3/build/Distribution-iphoneos/DrillDownApp.app/Info.plist"

Touch "/Users/example/Downloads/Source-3/exampleMobileApp 3/build/Distribution-iphoneos/DrillDownApp.app"
cd "/Users/example/Downloads/Source-3/exampleMobileApp 3"
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/usr/bin/touch -c "/Users/example/Downloads/Source-3/exampleMobileApp 3/build/Distribution-iphoneos/DrillDownApp.app"

ProcessingProductPackaging /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/Entitlements.plist "/Users/example/Downloads/Source-3/exampleMobileApp 3/build/exampleMobile.build/Distribution-iphoneos/exampleMobile.build/DrillDownApp.xcent"
cd "/Users/example/Downloads/Source-3/exampleMobileApp 3"
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
<com.apple.tools.product-pkg-utility> /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/Entitlements.plist -entitlements -format xml -o "/Users/example/Downloads/Source-3/exampleMobileApp 3/build/exampleMobile.build/Distribution-iphoneos/exampleMobile.build/DrillDownApp.xcent"

CodeSign "/Users/example/Downloads/Source-3/exampleMobileApp 3/build/Distribution-iphoneos/DrillDownApp.app"
cd "/Users/example/Downloads/Source-3/exampleMobileApp 3"
setenv CODESIGN_ALLOCATE /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/usr/bin/codesign -f -s "iPhone Developer: Paul Braam (R82A3577P5)" "--resource-rules=/Users/example/Downloads/Source-3/exampleMobileApp 3/build/Distribution-iphoneos/DrillDownApp.app/ResourceRules.plist" --entitlements "/Users/example/Downloads/Source-3/exampleMobileApp 3/build/exampleMobile.build/Distribution-iphoneos/exampleMobile.build/DrillDownApp.xcent" "/Users/example/Downloads/Source-3/exampleMobileApp 3/build/Distribution-iphoneos/DrillDownApp.app"
/Users/example/Downloads/Source-3/exampleMobileApp 3/build/Distribution-iphoneos/DrillDownApp.app: replacing invalid existing signature

1 个答案:

答案 0 :(得分:0)

当我得到这个时,我会在再次构建之前尝试以下(通常按此顺序):

  1. 重启Xcode
  2. 全部清理
  3. 清除所有内容并删除与构建目录中的应用程序相关的任何内容
  4. 全部清除并删除整个构建目录
  5. 下一步可能是“重启Mac”(最后是“恐慌”),但我从来没有那么远。