Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate. (-19011)
解决办法
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 查看
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图片名,希望对遇到问题看到此贴的人有帮助!