前段时间上架app的时候,出现了the Info.plist is missing or could not be parsed. Please examine them for embedded control characters错误,居然告诉我info.plist文件丢失或者不能被解析,当下查看打好包里面是否存在info.plist文件,的的确确是存在的,后来百度、Google,发现有遇到这个问题的
其中stackoverflow论坛上有一些解决方法,我一一都尝试过,
1,查看info.plist文件是否在xcode外使用别的方式编辑过
2,把build settings -> packaging -> info.plist的文件路径重新指向,并且Expand Build settings in info plist file选项选成Yes,info.plist output encoding设置为binary如下图所示:
甚至把info.plist文件替换掉,都无法解决问题,后来看到了这个回答http://stackoverflow.com/questions/33312621/this-bundle-is-invalid-the-info-plist-file-is-missing-the-required-key-cfbundl
去检查所有引入的第三方包,在一些第三方包里面发现了罪魁祸首: