Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可以将我的本地 Xcode 配置为在编译时包含注入应用程序的私钥吗?
我想与少数人共享我的存储库中的源代码,但我担心我的私钥用于验证远程服务(OAuth2 等)
目前我在源代码中有#define 它们。
您始终可以在本地计算机上创建一个小型静态库(并将其源代码保留在本地计算机上),其中包含私钥(未加密或在其中加密),然后在源代码中包含该静态 .a 文件存储库。