You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to use this with a Swift project in Xcode, with both macOS and iOS targets.
Ideally, I'd have the keys in an env file, but that appears not to work. When the keys are not included in .env, pod install prompts for values, and generates the code correctly while inserting keys in the keychain. All good.
If I use the pod to remove the key (or simply add a new one), clear out derived data, build clean, but then add the key to the .env file, pod install will no longer prompt for a value (as expected) but the code is not generated correctly - i.e., no key names/values are added to the Keys class. Running pod keys confirms that none were generated.
Any reason to consider why this might not be working? It seems that I've isolated the issue cleanly enough, but if it's working for others, there's clearly something else at play.
The text was updated successfully, but these errors were encountered:
Thanks @vanthanhtran245 , that command was the solution for a problem I was facing 👍 here, keys I was populating in the Podfile weren't being generated in the .h file, only the keys that were present in that ~/.cocoapods/keys/….yaml cache was being generated in the .h file and I didn't understand why 😬
I'm attempting to use this with a Swift project in Xcode, with both macOS and iOS targets.
Ideally, I'd have the keys in an env file, but that appears not to work. When the keys are not included in .env,
pod install
prompts for values, and generates the code correctly while inserting keys in the keychain. All good.If I use the pod to remove the key (or simply add a new one), clear out derived data, build clean, but then add the key to the .env file,
pod install
will no longer prompt for a value (as expected) but the code is not generated correctly - i.e., no key names/values are added to the Keys class. Runningpod keys
confirms that none were generated.Any reason to consider why this might not be working? It seems that I've isolated the issue cleanly enough, but if it's working for others, there's clearly something else at play.
The text was updated successfully, but these errors were encountered: