Unable to load standard library for target 'armv7em-none-none-eabi'

I am trying to follow Baremetal Setup for STM32 with Embedded Swift. My first build fails with “:0: error: unable to load standard library for target 'armv7em-none-none-eabi'“.

I’ve installed llvm-toolchain, but I cannot see how the build system will know where to look. It is at the suggested path in STM32BlinkLED/llvm-toolchain.

What do I need to fix this?

I have XCode installed, so it is using Swift 6.2.

On side-note, I also get this warning:
warning: 'stm32blinkled': Source files for target Support should be located under 'Sources/Support', or a custom sources path can be set with the 'path' property in Package.swift
It seems to be a case issue, as I use STM32BlinkLED everywhere (including package and folder names) and it does have the /Sources/Support folder.

Answering myself: The error is using XCode’s Swift 6.2. It does not support SwiftEmbedded yet according to this link: Documentation