Here’s how I did it.
- Shut down Xcode.
- Back up the project.pbxproj file.
- Edit the project.pbxproj file and remove lines of instances where it mentions the old provisioning profile.
- eg. Delete line:
- PROVISIONING_PROFILE = “8D024EDA-DC05-40DF-B3EB-536392615EE2”;
- Restart Xcode and perform a full clean of the project.
- It should then build without warnings.
Enjoy!