apple 发布一些错误

来源:互联网 发布:管家婆数据库下载 编辑:程序博客网 时间:2024/06/04 19:26

 Application failed codesign verification.  The signature was invalid, or it was not signed with an Apple submission certificate. (-19011)

解决办法


遇到2次这样的错误提示,一次是在编译时,一次时在上传发布时,
从网上搜到了一些解决办法,可以分别尝试:

1 主要是因为XCode的版本问题,我原来用的是XCode3.1.3打包,上传不了,改用XCode3.2打包就可以了,
在 Project info 中 genenal 中 Project format 

2.Solved

I think the fact I wasn’t building under device played quite a big part in this. After much (more) tweaking I managed to get it to CodeSign by: Re-installing XCode Running the Clean All targets function a huge number of times in-between everything I did. Deleted all certs on my Keychain and downloaded all new ones. Making sure I was using device and my Distribution profile on both Target and Project settings. And a lot of sweat and tears..!

3 查看 https://developer.apple.com/ios/manage/distribution/index.action  很有帮助

4 问题解决:把应用名称改称英文,然后在 project中删除 distribution ,然后重新编译release,

复制 release 为distribution,然后查看signcode ,没问题,编译,打包,竟然通过了。

5 还有人建议删除所有编译文件,重新生成。



XCode4

办法1:Target设置----->build------>Validate Built Product选项去掉就可以了。

办法2:

1、Remove all files from the project that started with ._ (dot then underscore).  See my previous post for more, however you just open the terminal and run find . -name “._*” -print0 | xargs -0 rm -rf from the command line in the root of the project
2、Make sure that the Icon File setting in the info.plist file is empty
我是因为自做主张,在plist里设置icon图片名,希望对遇到问题看到此贴的人有帮助!


原创粉丝点击