This issue now appeared for me in Xcode 14 beta 4, was working fine in beta 1 and beta 2 (skipped beta 3).
HumanReadableSwiftError SettingsError: noExecutablePath(<IDESwiftPackageStaticLibraryProductBuildable:ObjectIdentifier(0x000060000e50a4f0):'openssl-apple'>)
Filed as FB10909105, attached diagnostics that were produced along with sample project, which reproduces this issue.