Appium launches app via simulator when udid is given

i have a client app which i need to have installed on my provisioned iOS device. when I provide all the required parameters (app path, iOS version, udid, etc. ), and start the appium server, it tries to install the app on simulator. the logs show that the real device UDID has been linked in a simulator. any thoughts on why the simulator takes a device UDID?

Not without seeing the logs.

this doesn’t happen all the time. i would say out of 5 runs, the issue is seen once. but i will attach the logs next time this issue occurs.