The "Product" menu in Xcode has "Build" (⌘ + B) and it has "Build For" which has three options: "Testing", "Running", and "Profiling".
Is there a difference between "Build" and "Build For" > "Running"? If yes, what is it (is it supposed to build for all three options in one go?) and is there any way to modify what gets built? If not, then why bother having two separate commands?
I have tried looking up documentation on this but it doesn't answer my question.
This question is similar but doesn't answer it either (and is quite old).
I am using Xcode 14.2.