I am new in PhoneGap, making a app via Xcode; But I found an error regarding CDVViewController.h
. However, the file physically exists there. I am using Xcode 4.6 and Cordova 2.2.0.
相关问题
- Should I use CSS3 media queries to deliver differe
- Xcode debugger displays incorrect values for varia
- Image loads in simulator but not device?
- apk big size with ionic 4 build
- How to read file in android using PhoneGap Javascr
相关文章
- Could I create “Call” button in HTML 5 IPhone appl
- xcode 4 garbage collection removed?
- Xcode: Is there a way to change line spacing (UI L
- Unable to process app at this time due to a genera
- Popover segue to static cell UITableView causes co
- “Storyboard.storyboard” could not be opened
- didBeginContact:(SKPhysicsContact *)contact not in
- Phonegap - Error - Keystore alias not recognized
Man, there are a lot of red herring answers to this question out there. This is what worked for me, and is in the documentation for both PhoneGap 2.5 and 3.0 (see here: PhoneGap docs for iOS (look under "missing headers"), using Xcode 4.6.
phonegap add podfile must include above
You may need to update your CordovaLib sub-project reference.
Run the script below where the first parameter is the path to your project's .xcodeproj file:
./update_cordova_subproject path/to/your/project/xcodeproj
If you're building to the local build output directory, rather than the new xcode artefact store, you may need to copy the contents of CordovaLib/build into $YOURPROJECT/build.
The same applies if you're using xcodebuild from a terminal.
Please add this line to your projects Build Settings >> Header Search Paths:
it's worked on Xcode 7.0 + and iOS 9+.