This might seem obvious but I’ve seen this trip people up before so it’s worth double checking … that your iPhone is connected to the same LAN as your Core?
As a troubleshooting method try installing and running the Fing App on the iPhone to check if it can see the Roon Core machine.