One signal plugin cannot be installed on Mac

Hi community,
I have an issue related with one signal cordova plugin.Installation failed with an error
Error: pod: Command failed with exit code 31.
Can anybody help me on this?
My ionic info

@ionic/cli-utils  : 1.19.2
ionic (Ionic CLI) : 3.20.0

global packages:

cordova (Cordova CLI) : 8.0.0 

local packages:

@ionic/app-scripts : 3.1.8
Cordova Platforms  : ios 4.5.4
Ionic Framework    : ionic-angular 3.9.2

System:

ios-deploy : 1.9.2 
ios-sim    : 5.0.9 
Node       : v7.0.0
npm        : 3.10.8 
OS         : macOS Sierra
Xcode      : Xcode 8.2.1 Build version 8C1002 

Thanks in advance

`

Hi
I solved the issue.Issue was related with cordova-plugin-add-swift-support

cordova plugin rm cordova-plugin-add-swift-support
cordova plugin add cordova-plugin-add-swift-support