Cannot read property 'toLowerCase' of undefined ionic 3.9.2

Hi devs guys. I have a problem compiling my app for ios.
when running “ionic serve”.
the error that samples me in my console is :

[16:40:38] lint finished in 3.40 s
Cannot read property ‘toLowerCase’ of undefined
[ERROR] An error occurred while running cordova run ios (exit code 1).

My ionic info

cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils  : 1.9.2
ionic (Ionic CLI) : 3.9.2

global packages:

Cordova CLI : 8.1.2 (cordova-lib@8.1.1) 

local packages:

@ionic/app-scripts : 3.2.4
Cordova Platforms  : browser 5.0.4 ios 4.5.4
Ionic Framework    : ionic-angular 3.9.2

System:

ios-deploy : 1.10.0 
ios-sim    : 8.0.2 
Node       : v12.16.0
npm        : 6.13.4 
OS         : macOS
Xcode      : Xcode 10.0 Build version 10A255 

My package.json :

{
“name”: “myapp”,
“version”: “0.0.1”,
“author”: “Ionic Framework”,
“homepage”: “http://ionicframework.com/”,
“private”: true,
“scripts”: {
“clean”: “ionic-app-scripts clean”,
“build”: “ionic-app-scripts build”,
“lint”: “ionic-app-scripts lint”,
“ionic:build”: “ionic-app-scripts build”,
“ionic:serve”: “ionic-app-scripts serve”
},
“dependencies”: {
@angular/common”: “5.0.0”,
@angular/compiler”: “5.0.0”,
@angular/compiler-cli”: “^7.2.15”,
@angular/core”: “5.0.0”,
@angular/forms”: “5.0.0”,
@angular/http”: “5.0.0”,
@angular/platform-browser”: “5.0.0”,
@angular/platform-browser-dynamic”: “5.0.0”,
@ionic-native/aes-256”: “^4.20.0”,
@ionic-native/barcode-scanner”: “^4.20.0”,
@ionic-native/base64”: “^4.20.0”,
@ionic-native/camera”: “^4.20.0”,
@ionic-native/core”: “4.20.0”,
@ionic-native/device”: “^4.20.0”,
@ionic-native/file”: “^4.20.0”,
@ionic-native/file-chooser”: “^4.20.0”,
@ionic-native/file-path”: “^4.20.0”,
@ionic-native/file-picker”: “^4.20.0”,
@ionic-native/file-transfer”: “^4.20.0”,
@ionic-native/geolocation”: “^4.20.0”,
@ionic-native/http”: “^4.20.0”,
@ionic-native/image-picker”: “^4.20.0”,
@ionic-native/in-app-browser”: “^4.20.0”,
@ionic-native/in-app-purchase”: “^4.20.0”,
@ionic-native/network”: “^4.20.0”,
@ionic-native/printer”: “^4.20.0”,
@ionic-native/splash-screen”: “4.3.2”,
@ionic-native/status-bar”: “4.3.2”,
@ionic/pro”: “2.0.4”,
@ionic/storage”: “2.1.3”,
“browserslist”: “^2.2.0”,
“com-badrit-base64”: “^0.2.0”,
“cordova”: “^8.1.2”,
“cordova-android”: “7.1.4”,
“cordova-browser”: “^5.0.4”,
“cordova-ios”: “5.1.1”,
“cordova-plugin-add-swift-support”: “^2.0.2”,
“cordova-plugin-advanced-http”: “^2.1.1”,
“cordova-plugin-aes256-encryption”: “^1.2.2”,
“cordova-plugin-calendar”: “^5.1.4”,
“cordova-plugin-camera”: “^4.1.0”,
“cordova-plugin-device”: “^1.1.7”,
“cordova-plugin-file”: “^6.0.2”,
“cordova-plugin-file-transfer”: “^1.7.1”,
“cordova-plugin-filechooser”: “^1.2.0”,
“cordova-plugin-filepath”: “^1.5.6”,
“cordova-plugin-filepicker”: “^1.1.6”,
“cordova-plugin-geolocation”: “^4.0.2”,
“cordova-plugin-inappbrowser”: “^3.1.0”,
“cordova-plugin-inapppurchase”: “^1.2.0”,
“cordova-plugin-ionic-keyboard”: “^2.1.3”,
“cordova-plugin-ionic-webview”: “^4.1.1”,
“cordova-plugin-ios-camera-permissions”: “^1.2.0”,
“cordova-plugin-network-information”: “^2.0.2”,
“cordova-plugin-printer”: “0.7.3”,
“cordova-plugin-splashscreen”: “^4.1.0”,
“cordova-plugin-statusbar”: “^2.4.3”,
“cordova-plugin-telerik-imagepicker”: “^2.3.3”,
“cordova-plugin-whitelist”: “^1.3.4”,
“cordova-plugin-wkwebview-engine”: “git+https://github.com/ionic-team/cordova-plugin-wkwebview-engine.git”,
“crypto-js”: “^3.1.9-1”,
“force”: “0.0.3”,
“io”: “1.0.0”,
“ionic-angular”: “3.9.2”,
“ionic-native”: “^2.9.0”,
“ionic-plugin-keyboard”: “^2.2.1”,
“ionic-selectable”: “^3.4.0”,
“ionicons”: “3.0.0”,
“ios-deploy”: “^1.10.0”,
“ios-sim”: “^6.1.2”,
“moment”: “^2.24.0”,
“ng2-password-strength-bar”: “^1.2.3”,
“ngx-mask”: “^7.9.9”,
“phonegap-plugin-barcodescanner”: “^8.1.0”,
“rxjs”: “5.5.2”,
“sw-toolbox”: “3.6.0”,
“zone.js”: “0.8.18”
},
“devDependencies”: {
@ionic/app-scripts”: “3.2.4”,
“typescript”: “^3.1.6”
},
“description”: “An Ionic project”,
“cordova”: {
“plugins”: {
“cordova-plugin-ionic-webview”: {
“ANDROID_SUPPORT_ANNOTATIONS_VERSION”: “27.+”
},
“cordova-plugin-printer”: {},
“cordova-plugin-add-swift-support”: {}
},
“platforms”: [
“browser”,
“ios”
]
}
}

I have already reinstalled the xcode.
But error persist.

The application previously compiled correctly.

How could I fix it?