Swift support activation hook: Error: Cannot find module '../plugman/platforms/ios'

I can’t compile to ios. I keep getting the error : Swift support activation hook:
Error: Cannot find module ‘…/plugman/platforms/ios’

I went on several forums and the fix won’t work for me.
cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils  : 1.10.2
ionic (Ionic CLI) : 3.10.3

global packages:

Cordova CLI : 7.0.1 

local packages:

@ionic/app-scripts : 2.1.4
Cordova Platforms  : android 6.2.3 browser 4.1.0 ios 4.5.0
Ionic Framework    : ionic-angular 3.6.0


ios-deploy : 1.9.2 
ios-sim    : 6.0.0 
Node       : v8.4.0
npm        : 5.3.0 
OS         : macOS Sierra
Xcode      : Xcode 8.3.3 Build version 8E3004b 

plugins : com-sarriaroman-photoviewer 1.1.10 "PhotoViewer"
cordova-hot-code-push-local-dev-addon 0.4.2 "Hot Code Push Local Development Addon"
cordova-hot-code-push-plugin 1.5.3 "Hot Code Push Plugin"
cordova-plugin-add-swift-support 1.7.0 "AddSwiftSupport"
cordova-plugin-browsertab 0.2.0 "cordova-plugin-browsertab"
cordova-plugin-buildinfo 1.1.0 "BuildInfo"
cordova-plugin-camera 2.4.1 "Camera"
cordova-plugin-compat 1.1.0 "Compat"
cordova-plugin-customurlscheme 4.3.0 "Custom URL scheme"
cordova-plugin-device 1.1.4 "Device"
cordova-plugin-facebook4 1.9.1 "Facebook Connect"
cordova-plugin-file 4.3.3 "File"
cordova-plugin-file-transfer 1.6.3 "File Transfer"
cordova-plugin-filepath 1.0.2 "FilePath"
cordova-plugin-geolocation 2.4.3 "Geolocation"
cordova-plugin-inappbrowser 1.7.1 "InAppBrowser"
cordova-plugin-nativegeocoder 2.0.2 "NativeGeocoder"
cordova-plugin-splashscreen 4.0.3 "Splashscreen"
cordova-plugin-statusbar 2.2.2 "StatusBar"
cordova-plugin-whitelist 1.3.1 "Whitelist"
ionic-plugin-deeplinks 1.0.15 "Ionic Deeplink Plugin"
ionic-plugin-keyboard 2.2.1 “Keyboard”

build output: CHCP Local Development Add-on:
Can’t find .chcpenv config file with local server preferences. Did you run “cordova-hcp server”?
Swift support activation hook:
Error: Cannot find module '…/plugman/platforms/ios’
Running after script…
$ clean-up
any help will be appreciated. thanks in advance.

Did you?

Do you know to which plugin this belongs? Find out by uninstalling them one by one.

Ok got rid of the cordova-hot-code-push-local-dev-addon. Then applied the cordova-hcp server again. and it worked. Thank you