错误 ITMS-90432:无效 Swift 支持。有解决办法吗?

ERROR ITMS-90432: Invalid Swift Support. Is there a solution?

尝试将我的应用分发到 App Store Connect 时出错。这是我第一次遇到这个错误。我已经分发了 8 个不同版本的应用程序,没有出现错误。完整错误是:

ERROR ITMS-90432: "Invalid Swift Support. The file {APP NAME}/Frameworks/AppFrameworkInfo.plist doesn’t have the correct file type for this location. Ensure you’re using the correct file, rebuild your app using the current public (GM) version of Xcode, and resubmit it."

我在网上四处看看,但似乎找不到任何可行的解决方案。这是一个 Flutter 应用程序。

有没有已知的解决方案?我是否漏掉了一些明显的东西?

编辑:解决方案 Solved by edford on the Apple Developer forums. Delete AppFrameworkInfo.plist from the /Frameworks folder of your build before distribution.

解决方案Solved by edford on the Apple Developer forums. Delete AppFrameworkInfo.plist from the /Frameworks folder of your build before distribution