Could not load “my-icon.png” image referenced from a nib (iPhone)

前端 未结 7 832
抹茶落季
抹茶落季 2021-01-06 06:44

I am receiving the following error message:

2011-02-11 14:47:13.815 myProject[13177:207] Could not load the \"icon-troubleshoot.png\" image referenced from a         


        
7条回答
  •  佛祖请我去吃肉
    2021-01-06 07:22

    I had this exact same issue and I found that when I included this file in the project I didn't specify both my Development and Distribution targets, only Development, so as soon as I tried building Distribution target, it wasn't found. You have to delete reference to this image, then re-add it and make sure you checkmark all of the targets that it should be found in.

提交回复
热议问题