Why are apps signed twice for distribution?

When you create a project in xcode, you specify the profile / certificate pair in the build settings, and when exporting the archive you specify an additional provisioning profile to use. What is the reason for requesting this information twice?

Change to explain: . I looked at the contents of the group of generated .ipa files, and there seem to be two locations that are related to subscription / provisioning. The document in the _CodeSign folder (which appears to contain encrypted hashes of the contents of the file to verify the contents / source) and the .mobileprovision file, which seems to be added when exporting the assembly. At the moment, I do not see anything that would indicate the purpose of the provisioning profile selected in the build settings.

+3
source share
2 answers

You specify the status profile in the build settings that Xcode uses to sign the application. This allows you, for example, to run an application on a device during development. If I remember correctly, in the past the project build settings were the only place where you could specify the profile to use, so you usually set your development profile and your Release version to use the distribution profile for the Debug assembly.

- (Xcode 4, ), , . , , -. , , . , Xcode , .

Xcode Archive - - , , , . -. , , - , Xcode.

, , , :

  • ( ) Apple
  • , .
  • Apple , .
  • , ; ,

, "app binary" "ipa" - , , , iOS .

+1

, - xCode .ipa.

0

All Articles