Outdated provisioning profiles can often be a problem. Click on your project and your target audience, and then individually check the preparation profile for each code signing identifier (Ad Hoc, Debug, Release, etc.) by clicking on it. Please note that it may look like the right profile, but when you click on it, it appears at the bottom of the list in โothersโ. This usually means that Xcode refers to an older profile. Make sure you select the current, updated profile from the list above. It is best to verify the identity of the signature code separately to make sure.
After that, I recommend that you clear the project and remove the application from the device before starting it again.
Also, check your profile in the Organizer and make sure it has a green tick (Valid Profile) and in the Provisioning Portal to ensure that the required device is included in the profile.
source share