模块映射文件'/Users/"my_flutter_project_path"/ios/Pods/Headers/Private/openssl_grpc/BoringSSL-GRPC.modulemap'未找到?

Shr*_*rma 6 xcode dart flutter

我正在尝试在真实设备上通过 xcode 运行我的 flutter 项目。但是收到此错误 module map file '/Users/"my_flutter_project_path"/ios/Pods/Headers/Private/openssl_grpc/BoringSSL-GRPC.modulemap' not found

我浏览了这个错误并获得了this_gitHub_issue_solution并遵循了它但无法获得解决方案。

Mαπ*_*π.0 0

CocoaPods 1.9.0为 Podfile 中的每个 pod 指定动态/静态链接的功能应该会更好。它介绍了使用use_frameworks! :linkage => :staticwhich 是一种比use_modular_headers!.