Ionic Native + IOS + OneSignal

Ionic Native + IOS + OneSignal

需要你的帮助我正在使用 ionic3 + IOS + 一个信号(通知)

ionic cordova plugin add onesignal-cordova-plugin插件安装错误

错误

它在 android 平台上运行良好。

After install latest ionic, 
the problem is solved,
now my updated system info is given bellow

global packages:

@ionic/cli-utils : 1.4.0
Cordova CLI      : 7.0.1 
Ionic CLI        : 3.4.0
local packages:

@ionic/app-scripts              : 1.3.12
@ionic/cli-plugin-cordova       : 1.4.0
@ionic/cli-plugin-ionic-angular : 1.3.1
Cordova Platforms               : none
Ionic Framework                 : ionic-angular 3.5.0
System:

Node       : v6.10.0
OS         : macOS Sierra
Xcode      : Xcode 8.2.1 Build version 8C1002 
ios-deploy : 1.9.1 
ios-sim    : 5.0.13 
npm        : 5.0.3

Mac用户需要安装cocoapods,例如:

sudo gem install cocoapods