UE 5.8 Lighting fails to build on the Mac

Add following settings to Config/DefaultLightmass.ini

[DevOptions.StaticLighting]
bUseEmbree=false

See this post

Almost every minor version breaks Lightmass now.