I'm trying to use Safari Web Inspector to debug a web page, but the issue is my simulated device doesn't appear in Safari's Develop menu if the device is located at path other than ~/Library/Developer/CoreSimulator/Devices.
This is how I create and start a simulator:
xcrun simctl --set ~/.local/share/simctl create 'iPhone 14' 'iPhone 14'
open -a /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator --args -DeviceSetPath ~/.local/share/simctl -CurrentDeviceUDID EC027A1C-CD35-4F55-AAC9-FE1BBBF08D2B
Then I expect the device to appear in Safari -> Develop menu, but it doesn't. It does appear if I don't use the --set and -DeviceSetPath parameters.
Is there a way to make it work?