in Developing iOS

Xcode can’t archive codesign failed with exit code 1

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 .

Write a Comment

Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.