Error Installing WebDriverAgent from bitrise Virtual Machine

Aleksei, I switched to 2.0.0 and I execute manually

xcodebuild build-for-testing test-without-building -project /Users/vagrant/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=A8B83CCC-E7DD-4391-AC26-89B7C0F9EF46 IPHONEOS_DEPLOYMENT_TARGET=16.0 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO

this gave me a BUILD SUCESS but when testing its started Stay frozen forever without response

I could fix it making a Build without test and install manually
example:

#BUILD
xcodebuild build-for-testing -project /Users/vagrant/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=40F51BB6-F6ED-45AE-8A33-15E6836705EE IPHONEOS_DEPLOYMENT_TARGET=16.0 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO

#INSTALL
xcrun simctl install 40F51BB6-F6ED-45AE-8A33-15E6836705EE /Users/vagrant/Library/Developer/Xcode/DerivedData/WebDriverAgent-ddkxaobykakqviebqxlxlpmgwopi/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app

after this I Add the capability to use a prebuiltWDA
capabilities.setCapability(“usePrebuiltWDA”, true);

Better now. For stuck possibly you may make a ticket in Appium https://github.com/appium/appium/issues

If you keep seeing errors try this steps-

WebDriverAgent left side under the file folder icon
Click the WebDriverAgent icon under project
Select all from the search option and paste into the search bar exacty like this: VALIDATE_WORKSPACE
Set the Value to yes.
Re run the install to the phone again, following the same order.
WebDriverAgent library
WebDriverAgentRunner
Integration App

If you keep seeing errors about bundle identifiers go to:

Integration app
Info Tab
Update Bundle identifier string to if it not set to this already:
$(PRODUCT_BUNDLE_IDENTIFIER)

Regards,
Rachel Gomez