简体   繁体   English

如何将Cordova项目中使用的插件添加到iOS本机项目中

[英]How do I add plugin used in Cordova project to iOS native project

I've used this plugin and built a chat application in Cordova (platform iOS). 我已使用此插件并在Cordova(平台iOS)中构建了一个聊天应用程序。 I need to now integrate this into a separate native iOS app. 我现在需要将其集成到单独的本机iOS应用中。 I followed the steps mentioned here . 我按照这里提到的步骤进行操作。 Everything seems to have worked except I'm not able to utilize my plugin and I'm getting the following error 除了无法使用我的插件并且出现以下错误,一切似乎都正常

CDVPlugin class iosrtcPlugin (pluginName: iosrtcplugin) does not exist.

How do I add this plugin to the native iOS app? 如何将此插件添加到本地iOS应用程序?

以防万一有人遇到相同的问题,我通过将iOS代码添加到Cordova应用程序中来解决了我的问题(而不是之前尝试的另一种方法)。

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

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