Xcode15.4提交App Store遇CFBundleExecutable等Pod错误求助
我完成现有应用的新功能开发后(项目包含23个Pod依赖),测试验证通过,提交至App Store时触发以下错误:
Unexpected CFBundleExecutable Key. The bundle at 'Payload/******.app/Frameworks/FirebaseCoreExtension.framework/FirebaseCoreExtension_Privacy.bundle' does not contain a bundle executable. If this bundle intentionally does not contain an executable, consider removing the CFBundleExecutable key from its Info.plist and using a CFBundlePackageType of BNDL. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue. (ID: 76a69a38-9577-4e50-b88b-bd1c7d211a29)
我先后尝试了以下方案,均未解决问题:
- 进入构建包内容→Product→应用→显示包内容→Framework→FrameworkName_Privacy.bundle→显示包内容,修改其中的Info.plist
- 将“Bundle OS Type code”设置为BNDL
- 通过终端将“Distribution”证书保存到最新构建版本
- 更新所有Pod至最新版本
更新所有Pod后又出现新的验证错误:
Asset validation failed
The bundle 'Payload/*****.app/Frameworks/SkyFloatingLabelTextField.framework' is missing plist key. The Info.plist file is missing the required key: CFBundleShortVersionString. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring (ID: 31573eeb-a9d1-4fd0-bc9f-bfa1f879ee06)
且每次报错的Pod都不一样。我还试过StackOverflow上三个相关解决方案,也没效果。当前使用Xcode 15.4,卡在这了,求指导解决。
内容的提问来源于stack exchange,提问作者Sagar

