供应配置文件,证书,应用程序ID和密钥之间的关系 [英] The relationship between Provisioning Profiles, Certificates, App IDs, and Keys

查看:80
本文介绍了供应配置文件,证书,应用程序ID和密钥之间的关系的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在,我只是想在手机上测试我的应用程序,而不是部署到商店中.

Right now I'm just trying to test my app on my phone and not deploy to the store.

所有这些东西之间有什么关系?由于我没有尝试上传到商店,因此我可以忽略其中的任何一个吗?

How are all these things related? Since I'm not trying to upload to the store, can I ignore any of them?

我正在参加大学开发人员"计划.我能够获得证书并将其安装在Xcode中,但是构建仍然失败.

I'm on the University Developer program. I was able to get a certificate and install it in Xcode, but builds still fail.

解决此问题仅是更改应用程序标识符的问题吗?我怎么知道要放什么?

Is solving this problem just a matter of changing the application identifier? How do I know what to put in?

我注意到的一件事是,在开发人员门户中,我仅看到一个应用程序ID,但这是给其他人使用的.所以我想我没有应用程序ID.如果我只是想在手机上进行测试,是否需要一个?如果我需要一个,那我该怎么办呢?

One thing I noticed is that in the Developer Portal I see only one App ID but it's for someone with a different name. So I guess I don't have an App ID. Do I need one if I'm just trying to test on my phone? If I need one, then how do I get it?

帮助!似乎我越研究这些东西,我就会越困惑.如果您不能解决我的问题,能否至少告诉我这些东西之间是如何联系的?

Help! It seems the more I research these things the more confused I get. If you can't solve my problem, can you at least tell me how these things are related to each other?

推荐答案

设置配置文件是一个非常长的唯一字符串,可让设备识别证书(对开发非常有帮助).

Provision Profiles are a very long, unique, string that allows the device to recognize certificates (very VERY helpful for development).

您必须为设备配备应用程序的特定捆绑包ID(通过

You must provision your device with the specific bundle ID of your app (done through developer.apple.com), then install said profile in order to even think about building with a valid certificate. However, it is much easier to have Xcode generate a wildcard provisioning profile, which allows you to test ANY bundle ID (it shows up as *.mobileprovision).

证书是硬币的另一面.任何内容(网站,应用程序)的证书都表明该服务可以被用户(更重要的是操作系统)信任.证书由Apple California颁发,有效期为一年,并且可能由于任何原因随时被吊销.在像iPhone这样的封闭且安全的平台上,任何应用程序都必须具有证书.

Certificates are the other side of the coin. A certificate for anything (website, application) indicates that this service can be trusted by the user, and more importantly, the OS. Certificates are issued by Apple California, are valid for a year, and may be revoked at any time for any reason. On a closed and secure platform like the iPhone, a certificate is a must for any application.

这篇关于供应配置文件,证书,应用程序ID和密钥之间的关系的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆