xcode15提交app,报错:
之前使用xcode14提交正常,但是换到xcode15后,提交审核时报错:
Asset validation failed
The bundle ‘Payload/XXX.app/Frameworks/XXXX.framework’ is missing plist key. The Info.plist file is missing the required key: CFBundleShortVersionString. Please find more information about CFBundleShortVersionString at…
这是由于app包中的第三方库中plist文件中缺少CFBundleShortVersionString导致的,xcode14不会报错,但是Xcode15会报错。
解决方案1:简单粗暴版
既然是plist中缺少CFBundleShortVersionString,那就给它加上!
1、首先找到打出来的包
显示包内容
2、在包信息中,找到提示缺少CFBundleShortVersionString的第三方库的plist
3、直接打开info.plist文件,在文件中加入相应的CFBundleShortVersionString版本信息
打开info.plist文件,加入:
<key>CFBundleShortVersionString</key>
<string>7.2.4146</string>
解决方法2:更新第三方库
1、可能是固定了库的版本,导致该库无法适配新的Xcode,这种情况可以更新最新的第三方库
2、该库不支持最新的提交规则,建议联系第三方库的开发者解决。