首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >您上传的二进制文件无效。签名无效,或未签名

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

Stack Overflow用户
提问于 2009-10-08 16:21:07
回答 1查看 523关注 0票数 1

现在,我相信你们中的许多人在尝试在苹果商店提交应用程序时已经看到了这个错误消息。我也是,但是我已经做好了所有的事情,就像开发者门户网站上描述的那样。让所有的配置文件和证书都是正确的(三重检查),当我尝试在发行版下构建时,即使在这里,它也不会给出错误。正如开发人员门户网站所建议的那样,我在构建日志中查看了embedded.mobileprovision和代码签名,同样,它们也存在!所以我的问题是,这里的问题可能是什么,它会出什么问题(我的图标也是正确的,57px x 57px,并将其命名为Icon.png )。我真的被困在这里了。我可以从我的构建日志中给出一些输出,也许有人可以从中获得一些有用的信息。

代码语言:javascript
复制
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
EN

回答 1

Stack Overflow用户

发布于 2009-10-08 16:31:52

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

  1. 重新启动Xcode
  2. 清理所有
  3. 在build directory
  4. Clean all中清理并删除与应用程序相关的所有内容并删除整个构建目录

下一步可能是“重新启动Mac”(最后是“恐慌”),但我从来没有走到这一步。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/1538901

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档