Resource cruft / detritus in debug app

I am making a new iOS app from the bones of an old one.
It runs in simulator

If I add a simple text file to the project by dragging it in, (like some existing files which exist already), the amended project won’t start, giving a message about detritus
Remove the text file, and it runs.
What am I missing?


xattr -cr <path/to/file>

On that text file and see if that helps

1 Like

I had a script which purported to remove cruft with that command in the build steps, but it doesnt seem to have either run, or to run recursively.
Manually run it sorted those files, thanks.