Code Sign error: No unexpired provisioning profiles found that contain any of the keychain's signing certificates Code Sign error: No unexpired provisioning profiles found that contain any of the keychain's signing certificates ios ios

Code Sign error: No unexpired provisioning profiles found that contain any of the keychain's signing certificates


Fixed it by Organizer -> Teams (select Your Team) -> Refresh (low right corner).


After removing all devices/profiles/certificates and adding/creating it did still not work here too....also removing the Xcode prefs did not help.

but it seems to in the project settings, check in the build settings under CODE_SIGN_IDENTITIY, in my project the first line was set to a old profile but not visible in the list, only if you open the pulldown, after removing that it worked.


I just had this problem as well. I finally realized that the identifier is case sensitive. For example if your product name is "StackOverflow" it automatically tags the identifier with com.yourcompanyname.StackOverflow. (this of course can be changed by going to the summary of the target). The problem lies in what the app id is in the developer portal. Make sure that the identifier in the portal matches what's in Xcode.