Skip to content

Commit

Permalink
Updates hook type to after_prepare - #3
Browse files Browse the repository at this point in the history
  • Loading branch information
akofman committed Jun 8, 2016
1 parent 55491cd commit ff1ce12
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,5 @@
<keywords>cordova,phonegap,swift,plugin</keywords>
<repo>https://github.com/akofman/cordova-plugin-add-swift-support.git</repo>

<platform name="ios">
<hook type="after_platform_add" src="src/add-swift-support.js" />
</platform>
<hook type="after_prepare" src="src/add-swift-support.js" />
</plugin>
1 change: 0 additions & 1 deletion src/add-swift-support.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ module.exports = function(context) {
});

if(!iosPlatformVersion) {
console.log('ERROR');
return;
}

Expand Down

0 comments on commit ff1ce12

Please sign in to comment.