美文网首页
ERROR ITMS-90056: This bundle is

ERROR ITMS-90056: This bundle is

作者: 吕建雄 | 来源:发表于2021-06-07 10:19 被阅读0次

当上传ipa到AppStore遇到

“ERROR ITMS-90056: This bundle is invalid. The Info.plist file is missing the required key: CFBundleVersion”的时候,将.ipa对应 .xcarchive 找到(可以copy到方便的文件夹或者直接在终端进入到.xcarchive所在的目录),然后执行如下命令:

find . -name 'Info.plist' -not -path "*.storyboard*"  | while read file; do

echo $file;

{ plutil -p $file | grep CFBundleVersion; } || echo Failed $file;

done;

上述命令会将哪个包对应的CFBundleVersion提示出来,然后在相应的 Info.plist中增加 CFBundleVersion即可

附:.xcarchive文件查找步骤

XCode-> Window->Organizer 找到对应的Archivers包之后,右键,选择Show in Finder 即可看到;

路径

相关文章

网友评论

      本文标题:ERROR ITMS-90056: This bundle is

      本文链接:https://www.haomeiwen.com/subject/uoxleltx.html