You actually don't need the iOS device - Safari will also link up to the iOS simulator, so you can do this with just XCode.
But XCode is MacOS only, isn’t it?
Re:Hetzner Apple Mac Mini Offering
by presentation on Tuesday October 19, 2021 @12:38PM
(#28920150)
You can try Lambdatest.
1) Access to a Desktop Mac and a Desktop Safari.
2) An iOS device.
The Safari debugger recognizes a plugged-in iOS device and then allows to debug the iOS safari remotely. That's the only reliable way to find iOS specific JS or CSS issues. Browserstack alone does not help, unfortunately AFAIR.