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);