If this happens after updating the DEVELOPER CERTIFICATE,
My fix for the problem is related to the Apple provisioning profile, change the development setting and check the box in the certificate field (suppose this is an empty space next to the certificate name).
then you can: download and set this position manually by dragging to xcode or go to "Profiles-profiler-organizer-library" (on the left) and click on the "Update" button (at the bottom of the screen), this will load a new status profile that " connected "to the new CERTIFICATE, and the warning disappears.
source share