简体   繁体   English

在将数据上传到应用商店之前,先将其添加到应用钥匙串

[英]Pre add data to app keychain before uploading to the app store

Can I add some secrets to the app keychain before shipping it ? 我可以在发货前向应用程序钥匙串添加一些秘密吗? If yes what is the right approach? 如果是,正确的方法是什么?

Shani 香妮

No. 没有。

The keychain is accessed when the application is running, therefore you can't do anything before the app is released. 在应用程序运行时可以访问钥匙串,因此在发布应用程序之前您无法做任何事情。 You can add your secrets when the application is first run, but the app must be uploaded and available for the user before it can do this. 您可以在首次运行该应用程序时添加您的机密,但是必须先上载该应用程序并供用户使用,然后才能执行此操作。

Check out the Keychain programming Guide . 查阅《 钥匙串编程指南》

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

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