简体   繁体   English

在 Flutter 中的 `ios` 模拟器上运行我的 flutter 项目时遇到错误(vs 代码)

[英]I am experiencing an error when running my flutter project on `ios` simulator In Flutter (vs code)

I am experiencing an error on my flutter project when running it on the ios simulator and hence I am unable to run my project on the simulator, I have tried erasing all content and settings on the simulator and tried running flutter clean and rm ios/podfile and upgraded my packages and updated my podfile it still doesn't work.我在ios模拟器上运行 flutter 项目时遇到错误,因此我无法在模拟器上运行我的项目,我尝试擦除模拟器上的所有内容和设置,并尝试运行 flutter clean 和 rm ios/podfile并升级了我的软件包并更新了我的 podfile 它仍然不起作用。 The error follows:-错误如下:-

error: Build input file cannot be found: '/Users/Alan/Downloads/fluttershare/ios/GoogleService-Info.plist' (in target

'Runner' from project 'Runner')

note: Using new build system

note: Building targets in parallel

note: Planning build

note: Constructing build description

warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 6.0, but the range of supported

deployment target versions is 8.0 to 13.7.99. (in target 'GoogleUtilities' from project 'Pods')

warning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team

ID. To resolve this, select a development team in the Runner editor. (in target 'Runner' from project 'Runner')

warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the range of supported

deployment target versions is 8.0 to 13.7.99. (in target 'gRPC-C++-gRPCCertificates' from project 'Pods')

warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the range of supported

deployment target versions is 8.0 to 13.7.99. (in target 'Protobuf' from project 'Pods')

warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 4.3, but the range of supported

deployment target versions is 8.0 to 13.7.99. (in target 'nanopb' from project 'Pods')

warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the range of supported

deployment target versions is 8.0 to 13.7.99. (in target 'GTMSessionFetcher' from project 'Pods')

warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 4.3, but the range of supported

deployment target versions is 8.0 to 13.7.99. (in target 'FMDB' from project 'Pods')

warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 5.0, but the range of supported

deployment target versions is 8.0 to 13.7.99. (in target 'BoringSSL-GRPC' from project 'Pods')

warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the range of supported

deployment target versions is 8.0 to 13.7.99. (in target 'AppAuth' from project 'Pods')

warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 5.0, but the range of supported

deployment target versions is 8.0 to 13.7.99. (in target 'leveldb-library' from project 'Pods')

warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the range of supported

deployment target versions is 8.0 to 13.7.99. (in target 'gRPC-Core' from project 'Pods')

warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the range of supported

deployment target versions is 8.0 to 13.7.99. (in target 'GTMAppAuth' from project 'Pods')

warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the range of supported

deployment target versions is 8.0 to 13.7.99. (in target 'gRPC-C++' from project 'Pods')

warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 6.0, but the range of supported

deployment target versions is 8.0 to 13.7.99. (in target 'GoogleAppMeasurement' from project 'Pods')

Could not build the application for the simulator.无法为模拟器构建应用程序。

Error launching application on iPhone 11.在 iPhone 11 上启动应用程序时出错。

确保从 Firebase 下载GoogleService-Info.plist并将其添加到以下位置的应用中:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM