
[英]Flutter can't build on ios module 'cloud_firestore' not found @import cloud_firestore;
[英]Module 'cloud_firestore' not found when run ios in flutter
我正在尝试通过 runnig flutter run 在 ios 上运行该应用程序,但我收到此错误,podfile 为空我尝试手动安装它但它不起作用这是 podfile
# Uncomment the next line to define a global platform for your project
platform :ios, '13.0'
target 'Runner' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for Runner
end
这是控制台中的输出
Xcode's output:
↳
Writing result bundle at path:
/var/folders/36/b1104p0x2fj4x7x_16jt5h040000gn/T/flutter_tools.6CQTwr/flutter_ios_build_temp_dirOz25iu/temporary_xcresult_bundle
/Users/yomna/Desktop/nannyfinder/ios/Runner/GeneratedPluginRegistrant.m:12:9: fatal error: module 'cloud_firestore' not found
@import cloud_firestore;
~~~~~~~^~~~~~~~~~~~~~~
1 error generated.
note: Using new build system
note: Planning
note: Build preparation complete
note: Building targets in dependency order
Result bundle written to path:
/var/folders/36/b1104p0x2fj4x7x_16jt5h040000gn/T/flutter_tools.6CQTwr/flutter_ios_build_temp_dirOz25iu/temporary_xcresult_bundle
Could not build the precompiled application for the device.
Parse Issue (Xcode): Module 'cloud_firestore' not found
/Users/yomna/Desktop/nannyfinder/ios/Runner/GeneratedPluginRegistrant.m:11:8
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.