简体   繁体   English

iOS flutter 中的 Pod 文件问题

[英]Pod file issues in iOS flutter

How to add multiple targets in pod file in flutter?如何在 flutter 的 pod 文件中添加多个目标? I created notification extension for cleverTap and I want to use CleverTapSdk in notification service extension?我为cleverTap 创建了通知扩展,我想在通知服务扩展中使用CleverTapSdk? xCode return with error xCode 返回错误

No such module没有这样的模块

I tried to these lines in pod file, the projects runs but fails in archiving.我尝试在 pod 文件中使用这些行,项目运行但归档失败。

target "CTNotificationServiceExtension" do
  use_frameworks!
  pod "CleverTap-iOS-SDK"
end

I tried bridge-header.h both of the fixes didn't work for me我尝试了 bridge-header.h 两个修复都对我不起作用

Overwrite setting in Target: Share Extension :目标中的覆盖设置:共享扩展

LIBRARY_SEARCH_PATHS = ""; LIBRARY_SEARCH_PATHS = ""; OTHER_LDFLAGS = ""; OTHER_LDFLAGS = "";

and make sure you do并确保你这样做

pod install

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

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