in Apple's perspective, setting up a development devices is provisioning profile a device, when you have enrolled in one of the apple's development program, you will find setting up a developing device is quite easy, when your iPhone or iPad is connected to your mac, open Xcode's organiser, click "used for development", then everything just works. but what happend behind the scene??
in short:
- Xcode create CSR(certificate signing request) for you
- generate provision profile, and install them into your iPhone or iPad
another question comes what is CSR? what is the CSR used for? what provision profile is? what provision profile used for?
the first two question is what i am going to talk about in this article.
In order to understanding CSR, you have to understand what the certificate is and what certificate is used for.
Here is a list of articles about certificate, i think that author's work is awesome.
when you finish reading the first two article, you will understand what certificate is and what certificate is used for. certificate is a file that contains the issur's information, the subject's information, the subject's public key, the signature of the issur. and it is used for validate the subject 's public key.
now it's time to explain CSR (certificate signing request).
here is another link about CSR,
what is a CSR
, in CSR there is a signature, what's that used for? it is used for integrity check. here is another link,
CSR FAQ
, in case you have any question about CSR. in short, xcode create a key pair, use the public key, your information to request a signed certificate(another word create CSR), when apple signed the certificate, you can download from the provision portal, and then xcode can use the certificate to sign code. when your sign your code, it only indicate that app is signed by you, nothing else. how to deploy your app to your device?
本文深入探讨了在Apple的开发计划下,如何通过Xcode组织者轻松配置开发设备的过程。从生成证书请求(CSR)、创建认证文件到安装至iOS或iPad的详细流程解析,以及解释CSR的作用、Provision Profile的概念及其用途。文章旨在帮助开发者理解其背后的技术原理。

8113

被折叠的 条评论
为什么被折叠?



