XCode error: cannot overwrite dSYM file

531 views Asked by At

Again and again on every project running I'm getting the same error. Sometimes deleting derived data helps, sometimes it doesn't.

This started after my team leader had accepted new license agreement for the iOS Team Development Program, I suppose, but I'm not sure.

What can be the cause of the problem? How can I fix it?

  (null): error: No such file or directory - old dSYM file cannot be overwritten:       old: '/Users/.../Xcode/DerivedData/Project-gzbujuaqsogtbwbatsbvviqtmsqf/Build/Products/Debug-iphonesimulator/Project.app.dSYM/Contents/Resources/DWARF/Project'

update:

Also, I've noticed that some duplicated schemes appeared.

enter image description here

2

There are 2 answers

0
Reynaldo Aguilar On BEST ANSWER

I get this problem because I had the same target (the tests corresponding to a framework) repeated twice. I delete one of them and the problem disappear.

1
Nils Ziehn On

Did you try to clean your project?

Build -> Clean

Or

Cmd (+Shift?) + K