angryITguy
angryITguy

Reputation: 9561

Why can't I delete this file from my Xcode project?

Being new to Xcode, I foolishly added "wrong_answer.mp3" via "add files to.." to my project and in the wrong place, but I cannot remove this reference from my project. I deleted the underlying file from the file system, but I cannot find in Xcode where I can remove this reference... Can someone advise how to remove this reference from my project ?

enter image description here

UPDATE: Yes, I have tried delete/backspace and edit menu "Delete".

Upvotes: 0

Views: 1026

Answers (1)

Joakim Danielson
Joakim Danielson

Reputation: 52108

Some options

  1. Restart Xcode
  2. Clean project, Product—>Clean
  3. Put the file back and delete it from Xcode

Upvotes: 2

Related Questions