Skip to content

Commit

Permalink
Swift support hook
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyVerbruggen committed Aug 19, 2016
1 parent 138696c commit 2613d3c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions extra/hooks/iosrtc-swift-support.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ module.exports = function (context) {
swiftOptions = [''], // <-- begin to file appending AFTER initial newline
xcodeProject;

debug('".xcodeproj" project file found: ' + xcodeProjectPath);
xcodeProjectPath = path.join(projectRoot, 'platforms', 'ios', xcodeProjectPath, 'project.pbxproj');

// Checking if the project files are in the right place
if (!fs.existsSync(xcodeProjectPath)) {
debugerror('an error occurred searching the project file at: "' + xcodeProjectPath + '"');
Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-iosrtc"
version="3.1.0.5">
version="3.1.0.6">

<name>iosrtc</name>
<description>Cordova iOS plugin exposing the full WebRTC W3C JavaScript APIs</description>
Expand Down

0 comments on commit 2613d3c

Please sign in to comment.