if ci?
raise Pod::Informative, "CocoaPods-Keys could not find a key named: #{key}"
end
It looks like there was a NameError trying to instantiate that Informative error, but alas, my ruby fu isn't quite good enough to understand why. The end result is that the error output is completely useless to someone debugging their issue with their keys.
Sure enough, if I ssh'ed into that same Circle instance, but unset the env vars that indicated it was a CI environment, I got the interactive error message about a missing key:
CocoaPods-Keys has detected a keys mismatch for your setup.
What is the key for FooKey
Other possibly useful info:
CocoaPods : 1.3.1
Ruby : ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-darwin16]
RubyGems : 2.6.13
Host : Mac OS X 10.12.6 (16G29)
Xcode : 9.2 (9C40b)
Git : git version 2.14.3 (Apple Git-98)
Ruby lib dir : /Users/distiller/.rubies/ruby-2.4.2/lib
Repositories : master - https://github.com/cocoapods/specs.git @ 06f1a9a7ec3a23ffb13527ab7aa3b1103d321071
I was running
pod install
on a new setup in CircelCI 2.0 when I got this error:The relevant bit of code is:
It looks like there was a NameError trying to instantiate that Informative error, but alas, my ruby fu isn't quite good enough to understand why. The end result is that the error output is completely useless to someone debugging their issue with their keys.
Sure enough, if I ssh'ed into that same Circle instance, but unset the env vars that indicated it was a CI environment, I got the interactive error message about a missing key:
Other possibly useful info:
Plugins