Appium 1 not working with latest Xcode and iOS versions. All iOS simulator versions do not have tests running (the app installed manually than it works)

I upgraded the macOS (Sonoma) and xcode version (15.2), but now I am unable to run tests via the IDE or the Appium Inspector.

The test is running If the app install manually first.

I am getting this error:

Could not start a new session. Response code 500. Message: An unknown server-side error occurred while processing the command. Original error: ENOENT: no such file or directory, scandir ‘/Library/Developer/CoreSimulator/Volumes/iOS_21C62/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.2.simruntime/Contents/Resources/RuntimeRoot

“appium:automationName”: “XCUITest”,
“appium:platformName”: “iOS”,
“appium:deviceName”: “iPhone 13 Pro Max”,
“appium:app”: “/e2e-mobile-tests/apps/”,
“appium:udid”: “C28455B5-1450-4BF4-820E-0007D15FFB94”

Probably Appium 1. If so, you need to update to Appium 2. Appium 1 won’t work with the most recent Xcodes & iOS’s.