Error Itms-90339: This bundle is invalid . The info.plist contains an invalid key 'CFBundleResourceSpecification’ in app bundle
这个错误的解决方法就是
工程设置
Build Settings > Code Signing > Code Signing Resource Rules Path
删除 Code Signing Resource Rules Path 内的 值 就可以了
假如你使用的一些 sdk 中 有使用 bundle ,那么可能还有一个错就是
CFBundleExecutable key 的问题 ,英文错误提示大意就是 说 bundle 中没有可执行的文件,bundle 中的 info.plist 文件中却有 CFBundleExecutable 这个key ,解决办法就是 ,工程全局 搜索 CFBundleExecutable ,这样把 能找到的 plist 文件逐一打开 ,不需要的 就把对应的 键值对直接删除,
我的工程中 最后 的结果就是 只有主工程 的info.plist 中有 CFBundleExecutable 这个key ,其他的 bundle 中的 info.plist 中的 CFBundleExecutable ,都删除了。