dallastjames / cap-media-api-issue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing Cordova Resources Example Project

XCode gives the following error at build time using this project:

'Cordova/CDVPlugin+Resources.h' file not found

Steps To Replicate Issue

Using This Project

  • git clone this Project
  • npm i
  • npm run build
  • npx cap sync ios
  • npx cap open ios
  • Attempt to build using XCode

Using a new Project

  • Create a new Capacitor Project
  • npm run build && npx cap add ios
  • Add the following plugins
    • cordova-plugin-iosrtc
    • phonegap-plugin-media-recorder
    • cordova-plugin-file
    • es6-promise-plugin
  • Follow the Bridging Header and CocoaPods steps in the guide here: https://github.com/cordova-rtc/cordova-plugin-iosrtc/blob/master/docs/Building.md
  • Add the required permissions for the plugin
  • npx cap sync ios
  • npx cap open ios
  • Attempt to build using XCode

About


Languages

Language:TypeScript 36.7%Language:CSS 29.5%Language:Swift 13.6%Language:JavaScript 6.1%Language:Java 6.0%Language:HTML 4.7%Language:Ruby 3.2%Language:Objective-C 0.3%