Deploying code from visual studio code to iPhone

How do I deploy an app from visual studio code to an iphone, I have tried using xcode but it seems as if I am uploading the wrong file

ionic cordova run ios -l --address=0.0.0.0

make sure the device is connected to the same network as the system is…
if you don’t want the live reload functionality, use this
ionic cordova run ios
Ref https://ionicframework.com/docs/building/ios

Thank you I managed to deploy the app