ios 开发 iPhone 应用程序时使用的配置文件是什么?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3362652/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-30 17:29:05  来源:igfitidea点击:

What is a provisioning profile used for when developing iPhone applications?

iphoneios

提问by user174761

What is the purpose of a provisioning profile and why is it needed when developing an iPhone application? If I don't have a provisioning profile, what happens?

供应配置文件的目的是什么,为什么在开发 iPhone 应用程序时需要它?如果我没有配置文件,会发生什么?

采纳答案by Akusete

A Quote from : iPhone Developer Program(~8MB PDF)

引自:iPhone 开发者计划(~8MB PDF)

A provisioning profile is a collection of digital entities that uniquely ties developers and devices to an authorized iPhone Development Team and enables a device to be used for testing. A Development Provisioning Profile must be installed on each device on which you wish to run your application code. Each Development Provisioning Profile will contain a set of iPhone Development Certificates, Unique Device Identifiers and an App ID. Devices specified within the provisioning profile can be used for testing only by those individuals whose iPhone Development Certificates are included in the profile. A single device can contain multiple provisioning profiles.

配置文件是一组数字实体,可将开发人员和设备与授权的 iPhone 开发团队唯一地联系起来,并使设备能够用于测试。开发供应配置文件必须安装在您希望运行应用程序代码的每台设备上。每个开发配置文件都将包含一组 iPhone 开发证书、唯一设备标识符和一个应用程序 ID。配置文件中指定的设备只能由其 iPhone 开发证书包含在配置文件中的个人用于测试。单个设备可以包含多个配置文件。

回答by siddu

Provisioning is the process of preparing and configuring an app to launch on devices and to use app services. During development, you choose which devices can run your app and which app services your app can access. A provisioning profile is downloaded from your developer account and embedded in the app bundle, and the entire bundle is code-signed. The embedded provisioning profile is installed on the device before the app is launched. If the information in the provisioning profile doesn't match certain criteria, your app won't launch. You indirectly configure a development provisioning profile by choosing options in Xcode

供应是准备和配置应用程序以在设备上启动和使用应用程序服务的过程。在开发过程中,您可以选择哪些设备可以运行您的应用以及您的应用可以访问哪些应用服务。从您的开发者帐户下载配置文件并嵌入到应用程序包中,并且整个包都经过代码签名。嵌入式配置文件在应用程序启动之前安装在设备上。如果配置文件中的信息不符合某些条件,您的应用程序将不会启动。您可以通过在 Xcode 中选择选项来间接配置开发配置文件

回答by rownage

You need it to install development iPhone applications on development devices.

您需要它来在开发设备上安装开发 iPhone 应用程序。

Here's how to create one, and the reference for this answer:
http://www.wikihow.com/Create-a-Provisioning-Profile-for-iPhone

以下是如何创建一个,以及此答案的参考:http:
//www.wikihow.com/Create-a-Provisioning-Profile-for-iPhone

Another link: http://iphone.timefold.com/provisioning.html

另一个链接:http: //iphone.timefold.com/provisioning.html

回答by yoAlex5

Apple very carries about security and as you know it is not possible to install anyapplication on a real iOS device. Apple has several legal ways to do it:

Apple 非常注重安全性,正如您所知,不可能在真正的 iOS 设备上安装任何应用程序。苹果有几种合法的方式来做到这一点:

  • When you need to test/debugan app on a real device the Development Provisioning Profileallows you to do it
  • When you publishan app you send a Distribution Provisioning Profile[About]and Apple after review reassign it by they own key
  • 当您需要在真实设备上测试/调试应用程序时,Development Provisioning Profile您可以这样做
  • 当您发布应用程序时,您会发送Distribution Provisioning Profile[About]和 Apple 在审核后通过他们自己的密钥重新分配

Development Provisioning Profileis stored on device and contains:

Development Provisioning Profile存储在设备上并包含:

  • Application ID - application which are going to run
  • List of Development certificates - who can debug the app
  • List of devices - which devices can run this app
  • 应用程序 ID - 将要运行的应用程序
  • 开发证书列表 - 谁可以调试应用程序
  • 设备列表 - 哪些设备可以运行这个程序

Xcodeby default take cares about

Xcode默认情况下会关心