Open mvg06 opened 4 years ago
I encountered the same error / problem as well 😞.
Did anyone figure this out? I'm now suffering from the same issue.
I have the same problem
Same here! is there any solution? It has been open since 2021 😞
There might be several reasons for this issue. I can tell you about my experience and how I solved the problem. In my CI environment, I did something like...
bundle exec pod keys set clientId "\"somedummyvalue\"" "\"ProjectName\""
This ended up setting the key for cocoapods-keys-"ProjectName"
instead of cocoapods-keys-ProjectName
.
This is evidenced by the fact that I would see Saved clientId to "ProjectName".
instead of Saved clientId to ProjectName.
in the output. Make sure that your output doesn't have any weird characters in it (quotes, dashes, etc). When the script runs, the first character was a "
which throws an exception when converting it to uppercase.
However, even after I realized the problem and ran the correct command...
bundle exec pod keys set clientId "somedummyvalue" "ProjectName"
I was still seeing the same issue. Here is how I solved it...
1). bundle exec pod keys rm "*" "ProjectName"
This will remove the keys that were added with quotes. I don't know if it is necessary but it is good to clean up the broken stuff first.
2). rm -rf ~/.cocoapods/keys
This was the thing that really tripped me up. It seems like something was cached and even after using the correct command it was always still adding the extra quotes. Once I deleted this folder and entered the correct command again, everything worked.
You don't have to delete the entire folder if you know exactly which .yml
file inside the folder pertains to your particular project.
Command
Report
pod install
I get this errorStack
Plugins
Podfile
Error