Flutter插件flutter_nearby_messages_api iOS构建失败求助
iOS构建Flutter应用报错:Multiple commands produce '/build/ios/Debug-iphonesimulator/Runner.app/Assets.car'
安装flutter_nearby_messages_api插件后,构建iOS应用时出现以下错误:
Failed to build iOS app [ ] Error (Xcode): Multiple commands produce '/build/ios/Debug-iphonesimulator/Runner.app/Assets.car' [ +1 ms] Could not build the application for the simulator. [ ] Error launching application on iPhone 14 Pro Max.
我尝试自行重新构建该Flutter插件,在<plugin>.podspec文件中添加s.dependency 'NearbyMessages'后仍出现相同错误。我不是iOS开发者,但推测该问题和CocoaPods有关。
以下是插件的Podfile.lock内容:
PODS: - Flutter (1.0.0) - flutter_nearby_messages_api (0.0.5): - Flutter - NearbyMessages - GoogleInterchangeUtilities (1.2.2): - GoogleSymbolUtilities (~> 1.1) - GoogleNetworkingUtilities (1.2.2): - GoogleSymbolUtilities (~> 1.1) - GoogleSymbolUtilities (1.1.2) - GoogleUtilitiesLegacy (1.3.2): - GoogleSymbolUtilities (~> 1.1) - NearbyMessages (1.1.1): - GoogleInterchangeUtilities (~> 1.2) - GoogleNetworkingUtilities (~> 1.2) - GoogleSymbolUtilities (~> 1.1) - GoogleUtilitiesLegacy (~> 1.3)
由于该Flutter插件不在公共仓库,我无法提交issue,希望有人能帮忙解决这个问题。
内容的提问来源于stack exchange,提问作者Betty St
相关产品推荐
相关产品推荐

