- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have been trying to build the intel p2p app on ios, but without success.
I have installed cordova-plugin-iosrtc, but build failes with this displaying following errors:
error: use of undeclared type 'RTCPeerConnectionFactory'
var rtcPeerConnectionFactory: RTCPeerConnectionFactory!
^~~~~~~~~~~~~~~~~~~~~~~~
error: use of undeclared type 'RTCPeerConnectionDelegate'
class PluginRTCPeerConnection : NSObject, RTCPeerConnectionDelegate, RTCSessionDescriptionDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~
error: use of undeclared type 'RTCSessionDescriptionDelegate'
class PluginRTCPeerConnection : NSObject, RTCPeerConnectionDelegate, RTCSessionDescriptionDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: use of undeclared type 'RTCMediaStreamDelegate'
class PluginMediaStream : NSObject, RTCMediaStreamDelegate {
^~~~~~~~~~~~~~~~~~~~~~
error: use of undeclared type 'RTCMediaStreamTrackDelegate'
class PluginMediaStreamTrack : NSObject, RTCMediaStreamTrackDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
and a lot more like this.
Kindly help me with this. The app builds fine without iosrtc plugin.
And, I couldn't find a location where I can add the bridging header of iosrtc.
Please advice.
Thanks & Regards,
Srinivas
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Was this an Android build or an iOS build? That plugin only works on iOS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you provide some screenshots of the errors? That would help me understand where in the workflow you're getting these errors
--Jerroyd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Srinivas -- My guess is that even though the plugin says it requires Xcode 7.2.1, I'm betting it requires the latest version, which we are not running on our build system. But I'm not positive that's the source of the problem. It also requires that you are building with either CLI 5.4.1 or CLI 6.2.0. Jerroyd is going to take a closer look at the build log you provided. --Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
may it be related to this?
https://github.com/eface2face/cordova-plugin-iosrtc/blob/master/docs/Building.md
i'm having the same problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Andrea -- yes, hook scripts will not work with our build system. The only way to build an app with that plugin is to build it locally using CLI.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page