In case Xcode, when you try to compile an app in simulator give you “Command /usr/bin/codesign failed with exit code 1”.
Open the terminal and paste:
cd ~/Library/Developer/Xcode/DerivedData xattr -rc .

In case Xcode, when you try to compile an app in simulator give you “Command /usr/bin/codesign failed with exit code 1”.
Open the terminal and paste:
cd ~/Library/Developer/Xcode/DerivedData xattr -rc .
da
Tag: