现在的位置: 首页 > 综合 > 正文

Deleted images remains

2014年01月01日 ⁄ 综合 ⁄ 共 391字 ⁄ 字号 评论关闭

I removed images from xcode, yet they show up simulator and iphone.

So if I used to have a sprite looking for "beach.png" i rename it "beach1.png" the app crashes, then put back "beach.png" app works, beach shows up, even though the beach image doesn't exist in xcode!

Answer:

1. Clear project. command+shift+K

2. Go to /Users/ou-h/Library/Developer/Xcode/DerivedData/ and delete the directory that matches your project name.(要先把当前的xcode关掉再删除)rm
-rf some_dir

抱歉!评论已关闭.