Cannot thank you enough.
I had multiple files affected by that error.
Applying your fix to just one of them solved the build failure entirely.
Seems like that pointed Xcode into the right direction for all files.
Topic:
Developer Tools & Services
SubTopic:
Xcode