Turns out it is one scheme setting that leads to this error: Debug Executable
Steps:
Choose the problematic scheme
Edit Scheme
Choose Run
Uncheck “Debug executable”
Clean Derived Data: ⌘ Cmd + ↑ Shift + K
Run the app again: ⌘ Cmd + R
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: