user3294779
user3294779

Reputation: 623

Removed platform from phonegap, now plugin do not work

I took some terrible advice and removed the ios platform from my phonegap project in order to try to change the bundle identifier. When I re added the ios platform, none of the plugins carried over into the build.

So all of my plugins still exist in the main phonegap project, but when I run cordova platform add ios or cordova build ios, the plugins are not included in that platform, and therefore the app does not function properly inside of xcode.

Does anybody know what I need to do in order to back track and get those plugins to load inside of the ios build?

Upvotes: 0

Views: 1145

Answers (2)

Adarsh Nahar
Adarsh Nahar

Reputation: 319

Trying remove all plugins and then add it again. after this add platform ios and than build the app. if this does not work then create a new cordova project and add plugins.

OR

Try adding plugins manually

Upvotes: 0

Dawson Loudon
Dawson Loudon

Reputation: 6029

For each plugin run cordova plugin remove and then cordova plugin add again. This is also the process for updating a plugin if you ever need to.

If that doesn't work, you can create a new project and then replace the www folder from that project with the one from the original project.

Upvotes: 0

Related Questions