RAD Studio XE8 is not finding the Developer Certificate for iOS applications

Abstract: RAD Studio XE8 is not finding the Developer Certificate for iOS applications under Project->Options->Provisioning

Some customers have reported that their developer certificate is not being found automatically in RAD Studio while Xcode is able to find it without problems using the same provisioning profile:

Hide image
CertificateNotFound

Only Auto option appears as RAD Studio has not found an appropriate certificate for the mobile provision

The problem could be that there is an expired certificate associated with the same identity on your Mac that RAD Studio is finding before getting the correct one.

In order to check it go to your Mac and open the application “Keychain Access”. Then select “View->Show expired certificates” in the menu:

Hide image
Click to see full-sized image

If there is an expired certificate under some keychain remove it (right-click over it and select “Delete…”):

Hide image
Click to see full-sized image

Afterwards the developer certificate should be correctly found by the IDE.