简体   繁体   English

iOS推送通知和证书问题

[英]iOS push notification and certificate issues

I have a pretty basic push notification question I was hoping someone could quickly answer for me: 我有一个非常基本的推送通知问题,希望有人可以为我快速回答:

I am developing an application for another person and everything is completed except for push notification integration. 我正在为另一个人开发应用程序,除推送通知集成外,其他所有操作均已完成。 The other person logged into his developer account, created an App ID (lets say com.company.myApp), configured it for push notification and created a development and production SSL Push certificate. 另一个人登录到他的开发人员帐户,创建了一个应用程序ID(例如com.company.myApp),将其配置为推送通知,并创建了开发和生产SSL推送证书。

Up to this point, I have been using MY personal developer account, and my question is 2 fold: 到目前为止,我一直在使用我的个人开发者帐户,我的问题是2折:

1) If I create an App ID that matches the one my customer made (com.company.myApp) and test it in development, will the push notification trigger in my app? 1)如果我创建了一个与客户制作的应用程序ID(com.company.myApp)相匹配的应用程序ID,并在开发中对其进行了测试,则推送通知会在我的应用程序中触发吗? I am guessing not since I assume there must be some tie to the other persons account within these certificates. 我猜不是因为我认为这些证书中的其他人帐户一定有关联。

2) In general, is it possible to develop an application with a developer license A, and have it submit to iTunes Connect belonging to the owner of license B? 2)通常,是否可以使用开发者许可证A开发应用程序,并将其提交给许可证B所有者的iTunes Connect?

In essence, I am trying to figure out if I need to obtain this other persons developer license certificates in order to fully create an app for them or if I can develop on my certificates and simply log into their iTunes Connect and upload the app even though the app was code signed by my certificate. 本质上,我试图弄清楚是否需要获取此其他人的开发人员许可证证书才能为他们完全创建一个应用程序,或者我是否可以开发自己的证书并仅登录其iTunes Connect并上传该应用程序,即使该应用程序是由我的证书签名的代码。 Developing applications for other people is a new realm for me and so how all these licenses/certificates come into effect is a tad confusing. 为他人开发应用程序对我来说是一个新领域,因此所有这些许可证/证书如何生效有点令人困惑。

I hope this scenario makes sense, if not I can try to further clarify. 我希望这种情况是有道理的,如果没有,我可以尝试进一步澄清。

There are 2 types of certificates: 有两种类型的证书:

  1. Developer: 开发商:
    You can you use it to 2 everything you mentioned in 1) and 2) as long as you add it to your key chain. 只要将其添加到钥匙串中,就可以将其用于2)1)2)提到的所有内容。

  2. Distribution: 分配:
    When submitting the app this is the certificate you need to have in order to upload 提交应用程序时,这是您上传所需要的证书

your basic push notification solution is 您的基本推送通知解决方案是

1.your .cer certification use another app .cer certification ....thats why your certification dont match enter link description here 1.您的.cer认证使用另一个应用程序.cer认证....这就是为什么您的认证不匹配的原因请在此处输入链接描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM