Every time I come across code slippage and profile settings, a strange thing happens. In most cases, I get the error message “code signature identification was not found,” and if not, something like “no matching security profiles” and “no initialization profiles with a valid signature identifier”.
Despite the fact that I am calmly familiar with the theory and things related to subscribing and providing the code, there are still many errors that I came across every time, and I do not know how to deal with this. Sometimes this fails when setting up a new application, sometimes not.

There are 5 * 2 different ways to select a code signature identifier. What is the difference between the two? And if I choose one for debugging and one for release, what is the reason for “Any SDK for iOS” ?
In addition, there are two places in this dialog box: Project-Settings → Buildsettings - this is the first place, as well as for Target at Build Settings. Both of them are not synchronized, so if I change the signature code in the first place, I have to change it twice in the second place. Is there a way to sync them?
(debug, debug → any ios sdk, release, release → ios sdk), ( , , - , - .
:
- .
AppID, . appid , .
"" , :
Target- > Build Settings :

→ :

?
"Product" → "Archive" → "Validate" :

, . , "trail-and-error" , , XCode .
, Archive- > Validate , :


, ?
. , XCode 4 XCode 6. . Apple XCode .
Update
, ( 2 ). Provisioning Profile , IPA " ".
:
