Flutter iOS build failure error with Multiple command produce 'build/ios/Debug-iphonesimulator/Runner.app/Frameworks/FBAEMKit.framework'

zaq34kh6  于 2023-06-24  发布在  Flutter
关注(0)|答案(1)|浏览(168)
Launching lib/flavor/main_dev.dart on iPhone 12 in debug mode...
main_dev.dart:1
Xcode build done.                                            8.6s
Failed to build iOS app
Error (Xcode): Multiple commands produce '/Users/subhangipawar/Documents/BrainvireProject/main_court/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/FBAEMKit.framework'

Could not build the application for the simulator.
Error launching application on iPhone 12.
Exited

Xcode版本- 14.3

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.10.2, on macOS 13.3.1 22E772610a darwin-arm64, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] VS Code (version 1.78.2)
[✓] Connected device (3 available)
[✓] Network resources

在xcode构建阶段x1c 0d1x的ios模拟器PFA SS中获取此错误

mbjcgjjk

mbjcgjjk1#

    • 您遇到的问题可能是由应用程序中的多个Plist或其他文件引起的。**

要解决此问题,请在Xcode中执行以下步骤:
1.打开项目的目标设置。
1.转到构建阶段。
1.在“复制捆绑包资源”下,找到info.plist文件。
1.从复制捆绑包资源列表中删除info.plist文件。
注意:如果您还开发了手表应用程序,请确保从手表和手表扩展目标中删除plist文件。
来源:https://stackoverflow.com/a/50719379/14390091

相关问题