场景复现
Xcode更新到16后,使用Organizer验证打包的archive时,提示以下警告。
The archive did not include a dSYM for the Flutter.framework with the UUIDs
提示打包文件没有包含dSYM
,经过查询是Flutter SDK的问题。
解决方案
更新Flutter到3.24或者以上的版本重新打包上传就可以了。
官方GitHub问题详情:[CP-stable][iOS] Bundle dSYM packages in Flutter.xcframework
Flutter SDK CHANGELOG: flutter/54513 - [iOS/MacOS] Fixes an issue preventing iOS Apps Store validation from failing for Flutter apps using Xcode versions before Xcode 16.