配置文件和 Apple 钥匙串服务
目前,我们正在为同一客户端构建多个应用程序,为了方便起见,我们对所有应用程序使用通用的配置文件。等:- com.companyname.*
但是,每个应用程序都有一个唯一的捆绑包标识符。等: - com.companyname.appname
今天我注意到,一旦我们将用户名保存在一个应用程序的钥匙链上,它也会出现在另一个应用程序上。所以我认为这个共同的规定是这里的罪魁祸首,有什么方法我们可以在不使用不同规定的情况下克服这个问题?
Currently we are in the process of building multiple apps for the same client and for the convenience we are using a common provision profile for all the apps. etc :- com.companyname.*
However each app has a unique bundle identifier. etc : - com.companyname.appname
Today I noticed that once we save the user name on the key chain on a one app , it appears on the another app as well. So I think this common provision is the culprit here and is there any way that we can overcome this without using different provisions ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对于开发,您还应该使用 Apple 开发者计划的证书 (
.cer
)。您可以通过将私钥发送给 Apple 来创建证书。完成此过程后,安装.cer
。要在多台计算机上使用密钥,您需要创建一个.p12
。从 Apple 下载 Apple iPhone 证书后,将其导出为 P12 证书格式。要在 Mac OS 上执行此操作:
文件夹)。
文件>进口。然后导航到证书文件(.cer 文件)
您从 Apple 获得。
证书。私钥由 iPhone 开发人员识别:
名字
与其配对的
Last Name
公共证书。格式。
系统将提示您创建一个密码,该密码将在您使用时使用
尝试在另一台计算机上导入此密钥。
For development you should also use a certificate (
.cer
) from Apple Developer Program. You create the certificate by sending your private key to Apple. After this procedure install.cer
. For using key on several machines you need to create a.p12
.Once you have downloaded the Apple iPhone certificate from Apple, export it to the P12 certificate format. To do this on Mac OS:
folder).
File > Import. Then navigate to the certificate file (the .cer file)
you obtained from Apple.
Certificate. The private key is identified by the iPhone Developer:
First Name
Last Name
public certificate that is paired with it.format.
You will be prompted to create a password that is used when you
attempt to import this key on another computer.