Add this additional info:
While trying to build and run the WebDriverAgentRunner app on the iPhone connected in the XCode, the destination is suggested as needing the download of iOS 18 simulator which very high storage size. Since my mac' storage is very limited, I have to check whether the download is really required or not.