XCode16 ITMS-90171: Invalid bundle structure

574 阅读1分钟
更新Xcode16,打包后上传出现 ITMS-90171: Invalid bundle structure - The “XXX.app/Frameworks/XXX.framework/XXX_stripped” binary file is not permitted. Your app cannot contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles. For details, visit:developer.apple.com/documentati… 的问题。

如何解决?

在 Podfile 文件中编辑以下脚本

image.png

注意!截图这里少了一个end

framework_paths :填写自己项目报错的sdk文件目录。

然后重新 pod install

最后重新Archive打包。重新上传。

因为我这里出现问题的sdk都是通过pod管理的。sdk自己集成的话,这个方法应该不管用

参考stackoverflow.com/questions/7…

!希望能能帮助到有需要的朋友😊