Literally took my hours trying to fix this problem, until I found this post.
Added some .png files to the project and started getting this error.
Running xattr -c fixed it.
I am really pissed of lack of information for this error.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: