xcode 13/14/15 generate errors but then still runs the build

My build generates 10 errors, and sometimes it halts the "build and run" as expected. Most of the time, it just runs the previously successful build anyways. Seems like a basic tenent of an IDE to not do this unless I've explicitly enabled the run.

Are these errors with a red icon, or warnings with a yellow icon?

In the past, Xcode has had trouble keeping (or not keeping) errors from past incremental compilations around. AFAIK these issues are resolved in Xcode 15.

Can you re-create the problem with a newly created project in Xcode 15?

For any existing project that you open in Xcode 15, can you reproduce the issue after choosing "Clear All Issues" from the "Product" menu?

These are errors. And I have warnings as errors on as well. And also xcode reports stale errors in the issue list. The app should not have launched. This is a workspace building several projects into an app, but it’s like Xcode doesn’t care if one of the projects fails. And sometimes it cares about errors that were already fixed until I “clean build folder”. This is mostly a C++ lib linking to ObjC++.

xcode 13/14/15 generate errors but then still runs the build
 
 
Q