How can I add file to project in Xcode 9?

后端 未结 5 657
旧时难觅i
旧时难觅i 2020-12-16 15:58

I created a new project in xcode 9.

I want to add image file to project.

When I delete this file from desktop,

Image file appears i

5条回答
  •  星月不相逢
    2020-12-16 16:36

    It looks like a XCode 9 bug. If you check the Full Path of your image file in Identity and Type Tab, it would show the location of the deleted file, hence the deleted(red) color.

    You can delete that reference and can use Add File To.. option to add the reference of (already) copied image from your source folder.

提交回复
热议问题