Learn Courses My Dashboard

"No space left on device" Error


My app runs just fine on my devices and the simulators with no errors. However, when I try to create an archive so I can submit it to App Store Connect, I get this error:

fatal error: 
can't write to output file: /Users/ethan.kerr/Library/Developer/Xcode/DerivedData/knock.-
(No space left on device)

Command CreateUniversalBinary failed with a nonzero exit code

What device is the error referring to?

How should I fix this?

Thanks for the help!

Restart your Mac and try again… (if you have not already tried that).
How much free disk space do you have on your Mac?