Phonegap 3.0 IOS plugins not found
I was using PhoneGap 3.0/3.1 and was removing the local build folder before rebuilding (since I had to copy icons and stuff in a secondary build script). This broke my plugins and produced this same error message.
In the end I found I had to remove ./plugins/ios.json
when removing ./platforms/ios
to make sure the plugins were rebuilt.
Phonegap 3.0 - plugin not found (iOS)
I managed to get it working by adding the plugins to the config.xml outside the www directory, so the one directly in the root of the project. I guess I mistakenly used the wrong config.xml
Phonegap Plugman iOS - ERROR: Plugin not found
In xcode, I navigated to MyProject/MyProject/Plugins
and found
- /CDVSplashScreen.h
- /CDVSplashScreen.m
- /CDVInAppBrowser.h
- /CDVInAppBrowser.m
right there in the root. So I chose to delete (only the references), the re-added the SplashScreen folder, which was in the file system.
Now the folder looks like this:
- /org.apache.cordova.core.splashscreen/CDVSplashScreen.h
- /org.apache.cordova.core.splashscreen/CDVSplashScreen.m
- /CDVInAppBrowser.h
- /CDVInAppBrowser.m
and now SplashScreen works!
iOS unable to find plugins, Android fine
iOS was missing the plugin files themselves (.m and .h files), which must be copied by calling cordova prepare
or phonegap prepare
. Not very well documented it seems.
Cordova 3.1.0: Plugin not found or is not a CDVPlugin
Ok so it seems you have to add all the plugins you want before you create the built. All the resources files are correctly located then.
Error Creating PhoneGap 3.0.0 Custom iOS Plugin
Ok, I had two problems.
- I was using the wrong
config.xml
. I was playing with the one under thewww
directory and not the one in the root directory. The documentation was using both
<plugin />
and<feature/>
and it turns out that<feature/>
is the right thing to use.<feature name="Echo">
<param name="ios-package" value="Echo" />
</feature>
Somewhere it also says that <plugins />
is deprecated so I didn't put it under that node either and it still works.
Related Topics
How to Change the Color of the Text in a Uipickerview Under iOS 7
When Should Translatesautoresizingmaskintoconstraints Be Set to True
What Size Should Tabbar Images Be
Iphone:How to Detect the End of Slider Drag
Swift - How to Dismiss All of View Controllers to Go Back to Root
Coredata Get Distinct Values of Attribute
Format Uilabel with Bullet Points
Storing Authentication Tokens on iOS - Nsuserdefaults VS Keychain
How to Set the Uinavigationbar with Gradient Color
Facebook Sdk: App Not Registered as a Url Scheme
Get the Current View Controller from the App Delegate
What Are the Benefits of Using Storyboards Instead of Xib Files in iOS Programming
Build Not Visible in Itunes Connect
Convert Uiimage to Nsdata and Convert Back to Uiimage in Swift
Could Not Find an Overload for "Init" That Accepts the Supplied Arguments in Swift
How to Customize the Navigation Back Symbol and Navigation Back Text