繁体   English   中英

在 Xcode 中找不到模块“flutter_local_notifications”

[英]Module 'flutter_local_notifications' not found in Xcode

在我的应用程序中,我使用颤振本地通知在本地推送通知,包的版本是: flutter_local_notifications: ^1.4.4+4<\/code> 。 它在android上运行得很好。 但是它在 Xcode 上抛出一个错误,说“找不到模块 flutter_local_notifications”。 不知道是什么导致了这个问题,任何帮助表示赞赏。

这是我的错误:

fatal error: module 'flutter_local_notifications' not found
    @import flutter_local_notifications;
     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
    1 error generated.
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description

Could not build the application for the simulator.
Error launching application on iPhone 11 Pro Max.

使您的 pod 文件中的 iOS 版本与 Xcode 中的 Xcode 部署信息相同,请参阅下图

Xcode 部署信息

在此处输入图像描述

播客文件

在此处输入图像描述

暂无
暂无

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

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