Hi,
You can't automate a build downloaded from the App Store.
For Instruments/Appium to connect to the application on a real device, it need to have the .ipa file signed with a "Development" certificate that includes the UDID of the target device.
You can not use a "Distribution" certificate, which is what all App Store builds are signed with.
Regards
@Abdul_Sathar_Beigh