Add Remove cordova plugin not reflecting in iOS - Mutliple Targets

We have an Ionic Project and iOS as platform. Based on our needs, we keep adding and removing plugins from the cordova project. Currently we have 2 targets in our iOS XCode Project(One original target and another a duplicate). Adding plugin using Cordova/Plugman is not reflecting files correctly in the 2nd target. No source/header/resource file mentioned in “plugin.xml” is getting added to 2nd target. What’s the right way to solve this?

Upvotes: 0

Views: 63

Answers (1)

Arun Punnath
Arun Punnath

Reputation: 121

Best way is to write hooks if you are using the same the cordova plugin.

Upvotes: 0

Related Questions