An unknown server-side error occurred while processing the command. Original error: App with bundle identifier 'com.xxxx.xxxx.xxx.xxxxx' unknown

Hi , any one can help me, i am facing below issue
An unknown server-side error occurred while processing the command. Original error: App with bundle identifier ‘com.xxxx.xxxx.xxx.xxxxx’ unknown
Using below software version
Appium Version 1.15.1
XCode Version 11.1
OS Version Mojave 10.14.6
iPHOne simulator 13.1

appium Logs:
[info] e[35m[Appium]e[39m Welcome to Appium v1.15.1
[info] e[35m[Appium]e[39m Non-default server args:
[info] e[35m[Appium]e[39m allowInsecure: {
[info] e[35m[Appium]e[39m }
[info] e[35m[Appium]e[39m denyInsecure: {
[info] e[35m[Appium]e[39m }
[info] e[35m[Appium]e[39m Appium REST http interface listener started on 0.0.0.0:4723[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mGETe[39m e[37m/wd/hub/sessionse[39m
[info] e[35m[HTTP]e[39m e[90m{}e[39m
[debug] e[35m[GENERIC]e[39m Calling AppiumDriver.getSessions() with args: []
[debug] e[35m[GENERIC]e[39m Responding to client with driver.getSessions() result: []
[info] e[35m[HTTP]e[39m e[37m<-- GET /wd/hub/sessions e[39me[32m200e[39m e[90m4 ms - 40e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/sessione[39m
[info] e[35m[HTTP]e[39m e[90m{“desiredCapabilities”:{“automationName”:“XCUITest”,“bundleId”:“com.xxxxx.xxxxx.xxxx.xxxxxx”,“deviceName”:“iPhone 11 Pro (13.1)”,“platform”:“Mac”,“platformName”:“IOS”,“platformVersion”:“13.1”,“udid”:“E75B365F-6420-44EC-8EDA-5C05E500B4D0”,“newCommandTimeout”:0,“connectHardwareKeyboard”:true}}e[39m
[debug] e[35m[MJSONWP]e[39m Calling AppiumDriver.createSession() with args: [{“automationName”:“XCUITest”,“bundleId”:“com.xxxxx.xxxxx.xxxx.xxxxxx”,“deviceName”:“iPhone 11 Pro (13.1)”,“platform”:“Mac”,“platformName”:“IOS”,“platformVersion”:“13.1”,“udid”:“E75B365F-6420-44EC-8EDA-5C05E500B4D0”,“newCommandTimeout”:0,“connectHardwareKeyboard”:true},null,null]
[debug] e[35m[BaseDriver]e[39m Event ‘newSessionRequested’ logged at 1575971506879 (15:21:46 GMT+0530 (IST))
[info] [Appium] Appium v1.15.1 creating new XCUITestDriver (v2.133.1) session
[debug] [BaseDriver] Creating session with MJSONWP desired capabilities: {
[debug] [BaseDriver] “automationName”: “XCUITest”,
[debug] [BaseDriver] “bundleId”: “com.xxxxx.xxxxx.xxxx.xxxxxx”,
[debug] [BaseDriver] “deviceName”: “iPhone 11 Pro (13.1)”,
[debug] [BaseDriver] “platform”: “Mac”,
[debug] [BaseDriver] “platformName”: “IOS”,
[debug] [BaseDriver] “platformVersion”: “13.1”,
[debug] [BaseDriver] “udid”: “E75B365F-6420-44EC-8EDA-5C05E500B4D0”,
[debug] [BaseDriver] “newCommandTimeout”: 0,
[debug] [BaseDriver] “connectHardwareKeyboard”: true
[debug] [BaseDriver] }
[warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium:
[warn] [BaseDriver] platform
[info] [BaseDriver] Session created with session id: 1668ac6f-a31b-4239-a86b-40e349eb4e2f[debug] [XCUITest] Current user: ‘monalisas’
[debug] [XCUITest] Available devices: [info] [iOSSim] Constructing iOS simulator for Xcode version 11.1 with udid ‘E75B365F-6420-44EC-8EDA-5C05E500B4D0’
[info] [XCUITest] Determining device to run tests on: udid: ‘E75B365F-6420-44EC-8EDA-5C05E500B4D0’, real device: false
[debug] [BaseDriver] Event ‘xcodeDetailsRetrieved’ logged at 1575971523866 (15:22:03 GMT+0530 (IST))
[debug] [BaseDriver] Event ‘appConfigured’ logged at 1575971523867 (15:22:03 GMT+0530 (IST))
[debug] [BaseDriver] Event ‘resetStarted’ logged at 1575971523867 (15:22:03 GMT+0530 (IST))[error] [simctl] Error: simctl error running ‘terminate’: An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=165):
[error] [simctl] Unable to lookup in current state: Shutdown
[error] [simctl] at Object.wrappedLogger.errorAndThrow (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-support/lib/logging.js:78:13)
[error] [simctl] at errorAndThrow (/Applications/Appium.app/Contents/Resources/app/node_modules/node-simctl/lib/simctl.js:56:11)
[debug] [iOSSim] Cleaning app data files for ‘’, ‘com.xxxxx.xxxxx.xxxx.xxxxxx’
[debug] [iOSSim] Checking whether simulator has been run before: yes
[debug] [iOSSim] Building bundle path map[debug] [iOSSim] Could not find app directories to delete. It is probably not installed
[debug] [BaseDriver] Event ‘resetComplete’ logged at 1575971524554 (15:22:04 GMT+0530 (IST))
[warn] [XCUITest] Continuing without capturing device logs: iOS Simulator with udid E75B365F-6420-44EC-8EDA-5C05E500B4D0 is not running
[info] [XCUITest] Setting up simulator
[debug] [iOS] No reason to set locale
[debug] [iOS] No iOS / app preferences to set
[debug] [iOS] Setting did not need to be updated
[debug] [iOSSim] Setting preferences of E75B365F-6420-44EC-8EDA-5C05E500B4D0 Simulator to {“ConnectHardwareKeyboard”:true}
[debug] [iOSSim] Setting common Simulator preferences to {“RotateWindowWhenSignaledByGuest”:true,“ConnectHardwareKeyboard”:true}
[debug] [iOSSim] Updated E75B365F-6420-44EC-8EDA-5C05E500B4D0 Simulator preferences at ‘/Users/monalisas/Library/Preferences/com.apple.iphonesimulator.plist’ with {“DevicePreferences”:{“E75B365F-6420-44EC-8EDA-5C05E500B4D0”:{“ConnectHardwareKeyboard”:true}},“RotateWindowWhenSignaledByGuest”:true,“ConnectHardwareKeyboard”:true}[info] [iOSSim] Booting Simulator with UDID E75B365F-6420-44EC-8EDA-5C05E500B4D0…[info] [iOSSim] Starting Simulator UI with command: open -Fn /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app --args -CurrentDeviceUDID E75B365F-6420-44EC-8EDA-5C05E500B4D0 -ConnectHardwareKeyboard 1[info] [iOSSim] Simulator with UDID E75B365F-6420-44EC-8EDA-5C05E500B4D0 booted in 14 seconds
[debug] [IDB] Connecting idb service to ‘E75B365F-6420-44EC-8EDA-5C05E500B4D0’
[info] [XCUITest] idb will not be used for Simulator interaction. Original error: ‘idb’ has not been found in PATH. Is it installed? Read https://www.fbidb.io for more details
[debug] [BaseDriver] Event ‘simStarted’ logged at 1575971538995 (15:22:18 GMT+0530 (IST))[debug] [IOSSimulatorLog] Starting log capture for iOS Simulator with udid ‘E75B365F-6420-44EC-8EDA-5C05E500B4D0’, using ‘xcrun simctl spawn E75B365F-6420-44EC-8EDA-5C05E500B4D0 log stream --style compact’[debug] [BaseDriver] Event ‘logCaptureStarted’ logged at 1575971539465 (15:22:19 GMT+0530 (IST))[error] [XCUITest] Error: App with bundle identifier ‘com.xxxxx.xxxxx.xxxx.xxxxxx’ unknown
[error] [XCUITest] at Object.wrappedLogger.errorAndThrow (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/appium-support/lib/logging.js:79:13)
[error] [XCUITest] at XCUITestDriver.errorAndThrow [as start] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/lib/driver.js:422:13)
[error] [XCUITest] Error: App with bundle identifier ‘com.xxxxx.xxxxx.xxxx.xxxxxx’ unknown
[error] [XCUITest] at Object.wrappedLogger.errorAndThrow (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/appium-support/lib/logging.js:79:13)
[error] [XCUITest] at XCUITestDriver.errorAndThrow [as start] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/lib/driver.js:422:13)
[info] [DevCon Factory] Releasing connections for E75B365F-6420-44EC-8EDA-5C05E500B4D0 device on any port number
[info] [DevCon Factory] No cached connections have been found
[debug] [IOSSimulatorLog] Stopping iOS log capture
[debug] [BaseDriver] Event ‘newSessionStarted’ logged at 1575971539970 (15:22:19 GMT+0530 (IST))
[debug] [MJSONWP] Encountered internal error running command: Error: App with bundle identifier ‘com.xxxxx.xxxxx.xxxx.xxxxxx’ unknown
[debug] [MJSONWP] at Object.wrappedLogger.errorAndThrow (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/appium-support/lib/logging.js:79:13)
[debug] [MJSONWP] at XCUITestDriver.errorAndThrow [as start] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/lib/driver.js:422:13)
[info] [HTTP] <-- POST /wd/hub/session 500 33094 ms - 211
[info] [HTTP]
[info] [HTTP] e[37m–>e[39m e[37mDELETEe[39m e[37m/wd/hub/sessione[39m
[info] [HTTP] {}
[debug] [HTTP] No route found. Setting content type to ‘text/plain’
[info] [HTTP] <-- DELETE /wd/hub/session 404 3 ms - 57
[info] [HTTP] [info] [HTTP] e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/sessione[39m
[info] [HTTP] {“desiredCapabilities”:{“automationName”:“XCUITest”,“bundleId”:“com.xxxxx.xxxxx.xxxx.xxxxxx”,“deviceName”:“iPhone 11 Pro (13.1)”,“platform”:“Mac”,“platformName”:“IOS”,“platformVersion”:“13.1”,“udid”:“E75B365F-6420-44EC-8EDA-5C05E500B4D0”,“newCommandTimeout”:0,“connectHardwareKeyboard”:true}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{“automationName”:“XCUITest”,“bundleId”:“com.xxxxx.xxxxx.xxxx.xxxxxx”,“deviceName”:“iPhone 11 Pro (13.1)”,“platform”:“Mac”,“platformName”:“IOS”,“platformVersion”:“13.1”,“udid”:“E75B365F-6420-44EC-8EDA-5C05E500B4D0”,“newCommandTimeout”:0,“connectHardwareKeyboard”:true},null,null]
[debug] [BaseDriver] Event ‘newSessionRequested’ logged at 1575971554387 (15:22:34 GMT+0530 (IST))
[info] [Appium] Appium v1.15.1 creating new XCUITestDriver (v2.133.1) session
[debug] [BaseDriver] Creating session with MJSONWP desired capabilities: {
[debug] [BaseDriver] “automationName”: “XCUITest”,
[debug] [BaseDriver] “bundleId”: “com.xxxxx.xxxxx.xxxx.xxxxxx”,
[debug] [BaseDriver] “deviceName”: “iPhone 11 Pro (13.1)”,
[debug] [BaseDriver] “platform”: “Mac”,
[debug] [BaseDriver] “platformName”: “IOS”,
[debug] [BaseDriver] “platformVersion”: “13.1”,
[debug] [BaseDriver] “udid”: “E75B365F-6420-44EC-8EDA-5C05E500B4D0”,
[debug] [BaseDriver] “newCommandTimeout”: 0,
[debug] [BaseDriver] “connectHardwareKeyboard”: true
[debug] [BaseDriver] }
[warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium:
[warn] [BaseDriver] platform
[info] [BaseDriver] Session created with session id: 6bd11566-0771-4b83-88d6-37688269cb34
[debug] [XCUITest] Current user: ‘monalisas’
[debug] [XCUITest] Available devices:
[info] [iOSSim] Constructing iOS simulator for Xcode version 11.1 with udid ‘E75B365F-6420-44EC-8EDA-5C05E500B4D0’
[info] [XCUITest] Determining device to run tests on: udid: ‘E75B365F-6420-44EC-8EDA-5C05E500B4D0’, real device: false
[debug] [BaseDriver] Event ‘xcodeDetailsRetrieved’ logged at 1575971554568 (15:22:34 GMT+0530 (IST))
[debug] [BaseDriver] Event ‘appConfigured’ logged at 1575971554568 (15:22:34 GMT+0530 (IST))
[debug] [BaseDriver] Event ‘resetStarted’ logged at 1575971554568 (15:22:34 GMT+0530 (IST))[debug] [iOSSim] Cleaning app data files for ‘’, ‘com.xxxxx.xxxxx.xxxx.xxxxxx’[debug] [iOSSim] Checking whether simulator has been run before: yes
[debug] [iOSSim] Building bundle path map
[debug] [iOSSim] Could not find app directories to delete. It is probably not installed
[debug] [BaseDriver] Event ‘resetComplete’ logged at 1575971554934 (15:22:34 GMT+0530 (IST))
[debug] [IOSSimulatorLog] Starting log capture for iOS Simulator with udid ‘E75B365F-6420-44EC-8EDA-5C05E500B4D0’, using ‘xcrun simctl spawn E75B365F-6420-44EC-8EDA-5C05E500B4D0 log stream --style compact’
[debug] [BaseDriver] Event ‘logCaptureStarted’ logged at 1575971555136 (15:22:35 GMT+0530 (IST))
[info] [XCUITest] Setting up simulator
[debug] [iOS] No reason to set locale
[debug] [iOS] No iOS / app preferences to set
[debug] [iOS] Setting did not need to be updated
[debug] [iOSSim] Setting preferences of E75B365F-6420-44EC-8EDA-5C05E500B4D0 Simulator to {“ConnectHardwareKeyboard”:true}
[debug] [iOSSim] Setting common Simulator preferences to {“RotateWindowWhenSignaledByGuest”:true,“ConnectHardwareKeyboard”:true}[debug] [iOSSim] Updated E75B365F-6420-44EC-8EDA-5C05E500B4D0 Simulator preferences at ‘/Users/monalisas/Library/Preferences/com.apple.iphonesimulator.plist’ with {“DevicePreferences”:{“E75B365F-6420-44EC-8EDA-5C05E500B4D0”:{“ConnectHardwareKeyboard”:true}},“RotateWindowWhenSignaledByGuest”:true,“ConnectHardwareKeyboard”:true}
[debug] [iOSSim] Got Simulator UI client PID: 858
[info] [iOSSim] Both Simulator with UDID E75B365F-6420-44EC-8EDA-5C05E500B4D0 and the UI client are currently running
[debug] [IDB] Connecting idb service to ‘E75B365F-6420-44EC-8EDA-5C05E500B4D0’
[info] [XCUITest] idb will not be used for Simulator interaction. Original error: ‘idb’ has not been found in PATH. Is it installed? Read https://www.fbidb.io for more details
[debug] [BaseDriver] Event ‘simStarted’ logged at 1575971555249 (15:22:35 GMT+0530 (IST))[error] [XCUITest] Error: App with bundle identifier ‘com.xxxxx.xxxxx.xxxx.xxxxxx’ unknown
[error] [XCUITest] at Object.wrappedLogger.errorAndThrow (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/appium-support/lib/logging.js:79:13)
[error] [XCUITest] at XCUITestDriver.errorAndThrow [as start] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/lib/driver.js:422:13)
[error] [XCUITest] Error: App with bundle identifier ‘com.xxxxx.xxxxx.xxxx.xxxxxx’ unknown
[error] [XCUITest] at Object.wrappedLogger.errorAndThrow (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/appium-support/lib/logging.js:79:13)
[error] [XCUITest] at XCUITestDriver.errorAndThrow [as start] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/lib/driver.js:422:13)
[info] [DevCon Factory] Releasing connections for E75B365F-6420-44EC-8EDA-5C05E500B4D0 device on any port number
[info] [DevCon Factory] No cached connections have been found
[debug] [IOSSimulatorLog] Stopping iOS log capture
[debug] [BaseDriver] Event ‘newSessionStarted’ logged at 1575971555438 (15:22:35 GMT+0530 (IST))
[debug] [MJSONWP] Encountered internal error running command: Error: App with bundle identifier ‘com.xxxxx.xxxxx.xxxx.xxxxxx’ unknown
[debug] [MJSONWP] at Object.wrappedLogger.errorAndThrow (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/node_modules/appium-support/lib/logging.js:79:13)
[debug] [MJSONWP] at XCUITestDriver.errorAndThrow [as start] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/lib/driver.js:422:13)
[info] [HTTP] <-- POST /wd/hub/session 500 1052 ms - 211
[info] [HTTP]
[info] [HTTP] e[37m–>e[39m e[37mDELETEe[39m e[37m/wd/hub/sessione[39m
[info] [HTTP] {}
[debug] [HTTP] No route found. Setting content type to ‘text/plain’
[info] [HTTP] <-- DELETE /wd/hub/session 404 1 ms - 57
[info] [HTTP]

Add a capability ‘app’ with a path to the ipa file.

https://appium.io/docs/en/writing-running-appium/caps/

Bundle may be wrong…Ask your developer for same…

How to find the bundle id:
a) first find the udid of the device : idevice_id -l
b) Now use that udid to find the bundle id of installed ipas.:
ideviceinstaller -u -l