简体   繁体   English

添加删除不反映在iOS中的cordova插件-Mutliple Targets

[英]Add Remove cordova plugin not reflecting in iOS - Mutliple Targets

We have an Ionic Project and iOS as platform. 我们有一个Ionic Project和iOS作为平台。 Based on our needs, we keep adding and removing plugins from the cordova project. 根据我们的需求,我们不断在cordova项目中添加和删除插件。 Currently we have 2 targets in our iOS XCode Project(One original target and another a duplicate). 目前,我们的iOS XCode项目中有2个目标(一个原始目标,另一个重复)。 Adding plugin using Cordova/Plugman is not reflecting files correctly in the 2nd target. 使用Cordova / Plugman添加插件无法在第二个目标中正确反映文件。 No source/header/resource file mentioned in “plugin.xml” is getting added to 2nd target. 没有将“ plugin.xml”中提到的源/头/资源文件添加到第二个目标。 What's the right way to solve this? 解决这个问题的正确方法是什么?

最好的方法是编写钩子(如果您使用的是相同的cordova插件)。

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

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