New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Host key verification failed #661
Comments
I was able to work around the initial issue I reported by adding the key via When running in verbose mode, I'm seeing a number of errors like
I spot checked the index store and it seems to have data (though I don't know how to read it). I was thinking that maybe it's a permissions issue, but I would've expected to see a more specific error around that if that were the case. I saw on another issue to look out for
However, looking at our older builds, this issue seems to have existed for a while, and the version of Periphery that we were using seemed to handle this okay. Any help or advice would be much appreciated. Thank you in advance! Edit: Looks like the original issue wasn't fully resolved after all. I'm still getting errors about fetching our private SPM dependencies, it just doesn't always happen. |
Are these errors happening when running |
No, I'm not getting these errors directly. I was for a bit, but that was due to a misconfiguration with our build machines. Once I fixed that, I'm now able to run the |
We've been using Periphery in our project for a while now, both in Xcode and on CI. Although we've encountered some issues previously (including this one), we've thus far been able to resolve them. But this time I'm stumped.
The error that we get when running Periphery is hard to identify, but it seems logical that it would be the same error that we'd get when just running the command in isolation.
Running the command on its own also fails and this time actually prints the underlying error:
As I mentioned, we've previously gotten this error, though it was for the
/usr/bin/env xcodebuild -workspace [REDACTED] -list -json
command. We managed to work around it by running the command directly before running Periphery, but this recently stopped working.The repository in question is an SPM dependency hosted in a private repo, for which we use an SSH key added to
ssh-agent
. Our build commands specify both a-derivedDataPath
(to ensure repeatable clean builds) and-clonedSourcePackagesDirPath
(to cache our SPM dependencies). To ensure that things run properly on CI we also specify-scmProvider system -usePackageSupportBuiltinSCM
arguments, and just to be completely sure we also rundefaults write com.apple.dt.Xcode IDEPackageSupportUseBuiltinSCM YES
.None of these options seem to be specifiable to Periphery, and the options in
com.apple.dt.Xcode
(both in~/Library/Preferences
and/Library/Preferences
) don't appear to be getting picked up.This issue happens consistently both on the latest release (2.16.0) and on the version we were previously using (2.10.2).
The text was updated successfully, but these errors were encountered: