From eebac695af0cd08cd64b898ee707b1627eed1b53 Mon Sep 17 00:00:00 2001 From: EddyVerbruggen Date: Sat, 20 Aug 2016 13:25:19 +0200 Subject: [PATCH] Swift support hook --- extra/hooks/iosrtc-swift-support.js | 3 ++- plugin.xml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/extra/hooks/iosrtc-swift-support.js b/extra/hooks/iosrtc-swift-support.js index 0f8913aa..849881c0 100755 --- a/extra/hooks/iosrtc-swift-support.js +++ b/extra/hooks/iosrtc-swift-support.js @@ -55,7 +55,8 @@ module.exports = function (context) { xcodeProject; debug('".xcodeproj" project file found: ' + xcodeProjectPath); - xcodeProjectPath = path.join(projectRoot, 'platforms', 'ios', xcodeProjectPath, 'project.pbxproj'); + // xcodeProjectPath = path.join(projectRoot, 'platforms', 'ios', xcodeProjectPath, 'project.pbxproj'); + xcodeProjectPath = path.join(xcodeProjectPath, 'project.pbxproj'); // Checking if the project files are in the right place if (!fs.existsSync(xcodeProjectPath)) { diff --git a/plugin.xml b/plugin.xml index c5528de1..9646b5d6 100644 --- a/plugin.xml +++ b/plugin.xml @@ -1,7 +1,7 @@ + version="3.1.0.7"> iosrtc Cordova iOS plugin exposing the full WebRTC W3C JavaScript APIs