Could not load the “” image referenced from a nib

前端 未结 21 2400
广开言路
广开言路 2020-12-23 19:21

I have no images called \"\" (nothing). I\'ve gone through the .xib file of the screen where this pops up and can\'t find anything that would cause this. Anybody who have ha

21条回答
  •  臣服心动
    2020-12-23 20:14

    This worked for me:

    1- Quit Xcode

    2- Make a copy of your .storyboard for backup.

    3- Open your .storyboard in a text editor and delete image nodes and image node attributes with empty references.

    delete node like this --> 
    delete image attributes like this --> 
    

    4- Save the file
    5- Open your project again in Xcode.
    6- Run Product->Clean
    7- Run your project

    Warning should be gone.

提交回复
热议问题