1. 程式人生 > >ios 引用處理導致的檔案刪除卻提示未能找到該檔案

ios 引用處理導致的檔案刪除卻提示未能找到該檔案

背景:之前加FootBg.png後,後邊不用就刪除了 現在一直提示這個錯

Can't find /Users/lantan/Desktop/lantan/FootBg.png
Command /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/copypng failed with exit code 1

有時候刪除了一個檔案    build phases 中的 copy bundle resources裡面的引用沒有刪除就可能導致這個原因 ,xcode 真正的編譯 都是編譯這裡面的東西.

這裡刪除就徹底刪除了。

mark!