Cordova/CDVPlugin.h' file not found in Phonegap
I bet that the Cordova.framework is not included in your XCode project.
To add it follow theses instructions:
- Under build Phases
- In the Link Binary With Libraries
- Click on the "+" button in the bottom
- Click on "Add Other..."
- Go in Macintosh HD -> Users -> Shared -> Cordova -> Frameworks
- Select Cordova.framework and click on Open
Try again to build your project.
Cleaver (PhoneGap / Cordova as component) not working in iOS
Okay, after many hours of trying to solve this issue, I finally found what was going wrong.
This is the line that messed things up:
cdvViewController.webView.delegate = self;
You can't just override the delegate of the view controllers's web view. The original delegate has instantiation code which enables PhoneGap to run. Don't override it and everything will be fine !
Missing dependency target CordovaLib (from CordovaLib.xcodeproj)
For some reasons the xcode project was corrupted. Generally, to solve this kind of problems, you can try removing and re-adding the platform ios:
ionic platform rm ios
ionic platform add ios
ionic build ios
Attention: Any changes that you applied directly from xcode will be lost and you will need to apply manually after you will have run these commands. Do a backup of platforms/ios
before.
Unable to add Cordova.framework in XCode 5.1.1
With the help of Paulo's answer in this link I was able to solve my problem. Below is the solution.
The solution was to add the Cordovalib.xcodeproj to the target project, once done, click on your_project.xcodeproj - you will need to look in the Target Settings, under the Build Phases Tab, make sure that Cordovalib is added in Target Dependencies.
Once done it should allow the statement: #import to work.
Related Topics
iOS 13 - How to Login in In-App Purchase Sandbox Account
Libmobilegestalt Mobilegestaltsupport.M:153 Mobilegestalt.C:550 Xcode Console
Remembering Scroll Position on Uitableview
How to Check If Device Can Make a Phone Call (iOS 8)
Swift 3 Objc Optional Protocol Method Not Called in Subclass
How to Use Swift Repl with iOS Sdk
Removing Badge from iOS App Icon
Xcode 7.1 Swift 2 Unknown Class in Interface Builder File
iOS 4.3 Hide Status Bar Permanently
Setting Maximum Number of Characters of 'Uitextview ' and 'Uitextfield '
Perform Push Segue After an Unwind Segue
Loading a Resource (E.G. Storyboard) in a Swift Framework
iOS Changing Uiscrollview Scrollbar Color to Different Colors
What Do JSONserialization Options Do and How Do They Change JSONresult
How to Stop Uitableview from Clipping Uitableviewcell Contents in iOS 7
Avaudioplayer Produces Lag Despite Preparetoplay() in Swift
Could Not Find a Valid Googleservice-Info.Plist in Your Project