Xcode: issue “file xxx.png is missing from working copy” at project building

后端 未结 24 2072
猫巷女王i
猫巷女王i 2020-12-04 08:22

After deleting/adding some png files to project, i have got messages when building project.

\"file ProjectPath\\aaa\\xxx.png is missing from working copy.\"

24条回答
  •  时光取名叫无心
    2020-12-04 08:44

    In my case, the file was missing from the source control.
    To fix, I had to discard this file (be careful only discard the missing file not all your project):

    1. Xcode->Source Control->commit
    2. Right Click the missing file
    3. Choose Discard Changes

提交回复
热议问题