orta / cocoapods-keys

A key value store for storing per-developer environment and application keys
MIT License
1.55k stars 92 forks source link

Key input versus output #169

Closed bakeddean closed 7 years ago

bakeddean commented 7 years ago

Hi, I'm having some trouble inputting a key then retrieving it. Our key has some '$' characters in it. I've tried:

$ pod keys set "apiKey" "[characters]\$[characters]"

and

$ pod keys set "apiKey" '[characters]$[characters]'

Where [characters] are various alpha-numeric characters.

When I type pod keys it looks like the right values have been set.

But in the iOS code, the String has backslashes at the start and end. In the debug inspector it looks like

"\\[characters]$[characters]\\"

or printed out it looks like

\[characters]$[characters]\

Probably something obvious, but I can't figure this one out. Thanks.

bakeddean commented 7 years ago

I think a problem with derived data. Resolved.

orta commented 7 years ago

Ah, my sympathies 👍