Cannot spy on ios simulator mac m1

Hello,
Katalon studio cannot Spy ios simulator. I followed all the steps in the documentation on how to use iOS mobile for Katalon.

When i tried to spy, i get this error
Java.util.concurrent.ExecutionException: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: Trying to use WebDriverAgent project at ‘/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj’ but the file does not exist

Build info: version: 'unknown', revision: 'unknown', time: 'unknown'

System info: host: '192.168.1.9', ip: 'fe80:0:0:0:183f:2848:84e2:a174%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.16', java.version: '1.8.0_275'

Driver info: driver.version: IOSDriver

is it because of my appium path in “/opt/homebrew/bin/appium” ?

Operating System: macOS Big Sur 11.6.1
Katalon Studio Version: 8.1.0
Appium version: 1.22.1
Mobile platform/version under test: iOS 13 simulator
Xcode version (for iOS): 13.1

Thanks in advance.

hi @duyluong, can you help me for my case above?

@edwin.anggara21,

is it because of my appium path in “/opt/homebrew/bin/appium” ?

Yes, if you installed Appium via Homebrew, you need to:

thanks @duyluong, my case resolve with rebuild WDA.