appium: Simulator boot taking too long in XCode 15.2 - failing with Simulator has failed to finish booting after .
Do I have the most recent component updates?
- I use the most recent available driver/plugin and server versions
Is the component officially supported by the Appium team?
- I have verified the component repository is present under the Appium organization in GitHub
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
When moving to XCode 15.2 and iOS 17.2, the simulator is taking too long to boot and it fails with:
The simulator <id> has failed to finish booting after <time_in_seconds>
Expected Behavior
With XCode 14.2, the simulator boots in 45 seconds approximately. Because of the above failure, the tests are taking too long and timing out in our pipelines.
Minimal Reproducible Example
N/A
Environment
- Operating system: macOS 13.x
- Appium server version (output of
appium --version
): 2.0.0-beta.58 - Appium driver(s) and their version(s): xcuitest-4.21.1
- Appium plugin(s) and their version(s): no plugins
- Node.js version (output of
node --version
): 16.20.2 npm
version (output ofnpm --version
): using yarn 1.22.19- Last component(s) version which did not exhibit the problem: The appium and appium driver versions are same, but when using it with XCode 14.2 it did not exhibit this issue.
- Platform and version under test: iOS 17.2
- Real device or emulator/simulator: Simulator
Link to Appium Logs
https://gist.github.com/rohanp-91/7f6698a54648ed9ed60c32807da16302
Further Information
N/A
About this issue
- Original URL
- State: closed
- Created 4 months ago
- Comments: 18 (4 by maintainers)
Perhaps the issue comes from compatibility: https://appium.github.io/appium-xcuitest-driver/latest/installation/requirements/
Did you add
-derivedDataPath
option for xcodebuild in your prebuild as https://appium.github.io/appium-xcuitest-driver/latest/guides/run-prebuilt-wda/ explained? Without the argument, Xcode/xcodebuild randomly generates the path underDerivedData
directory.