Hi,
I have been searching online but I cannot find a good tutorial for how to management my API Key for iOS swift (Xcode) environment. Any tips and resources would be great.
Hi,
I have been searching online but I cannot find a good tutorial for how to management my API Key for iOS swift (Xcode) environment. Any tips and resources would be great.
hello, in our library it is well shown how to work with the API key GitHub - FuturraGroup/OpenAI: A library that makes it easy to use ChatGPT API
You should not keep your key in Xcode or in the iOS side at all. You need something server side per OpenAIs best practices. Any package out there that requires the key within Xcode is not operating safely (most do this). They should have an option for dependency injection so you can inject your own server-side provider that will hold your key.