How to familiarize yourself with code signing issues?

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.

enter image description here

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 : enter image description here

→ : enter image description here

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

enter image description here

, . , "trail-and-error" , , XCode .

, Archive- > Validate , :

enter image description hereenter image description here

, ?

. , XCode 4 XCode 6. . Apple XCode .

Update

, ( 2 ). Provisioning Profile , IPA " ".

: enter image description here

+4
2

, ,

Debug, iPhone → , " , "

release, iPhone --- >

Provisioning

Debug, Debug

release , - .

, , ,

+1

, , "xxx.xxx" "xxx.xxxTests" , , . :

  • "xxx.xxx". .

  • "xxx.xxxTests" , "xxx.xxxTests" , . XCode XCode .

. , , (development vs distribution).

EDIT: : ?

:

  • Provisioning Portal, . / .
  • , iOS . , , .
  • . prov XCode, cert , .. , , , .

XCode , , . , , , . , .

+1

All Articles