So when you face this situation and if you see the device log you will find following error in it.
install_application: Could not preflight application install
That means something is wrong with installation and most probably it’s the issue of the provisioning profile you are using. For that first clean the build from Xcode. Check the device id in list of the registered devices. If it’s not there add it and regenerate your distribution profile. Now go to Xcode and select the project and go to general tab. Make sure you have added the apple developer account and selected the correct team.
Now go to Build Settings tab and go to Code Signing section. Make sure you have selected correct distribution certificate for release and selected correct distribution profile. See the screenshot attached below.
Here if you have selected development provisioning profile and then it will not work so right selection for code signing identity and provisioning profile is must. Now you can generate archive and export the iPA file when you sync it with iTunes it will get installed properly. Hope this will help you.

