No iOS devices found on NativePHP mobile
I recently purchased a NativePHP mobile license, I went with the Max license at a reduced price during the Mobile Early Access Program (EAP). I have a simple mobile friendly Laravel website that I thought would make a good candidate to convert into an app and so I started with the installation process which was straight forward in NativePHP documentation but one slight hiccup. This error
"No iOS devices found!"

As a new platform it was difficult to get support so I went through the installation checklist for iOS again:
MacOS 12+ (check)
Xcode 16+ (check)
iOS Simulator (check)
Apple Developer account (optional)
So my first thought is I don't have "Xcode Command Line Tools" installed so I ran the install command, but it didn't help because I already had it installed.
xcode-select --install
How can I fix it?
So I did some digging into Xcode command line because I thought it's the culprit even though it's installed and after some searching and GPTing I found the solution which was this command
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
This command sets the active developer directory for Xcode command line which was changed on my laptop for some reason. It can happen because of an Xcode update or maybe installing a beta version. You can check your current active developer directory using the command xcode-select -p
and you can set it using -s flag like shown above.