Could not load the image referenced from a nib in the bundle running on device

后端 未结 30 2138
挽巷
挽巷 2020-12-07 18:24

SplitView[1290:307] Could not load the \"canary04.png\" image referenced from a nib in the bundle with identifier \"xx.co.mycompany.ipad.SplitView\"

30条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-07 19:01

    The easy way

    1 Simply do a grep in command shell to find the string of the referenced image:

    grep -R 'canary04.png' YourMainDirectoryFolder/*
    

    2 It will give you (for example) an output like this:

    YourProject/en.lproj/YourViewController.xib: 
    
    
    

    3 You now know which nib file and which element it is. Just go in the file and remove the reference.

提交回复
热议问题