一般サラリーマン日常

仕事・子育て等思いついたことを書いていきます

iOSに利用中の画像の差し替え

iconやLaunch Imagesを変更した場合。

「Command /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/copypng failed with exit code 1」

というエラーが出る。

 

その時は"Build Phases"→"Copy Bundle Resources"中の赤いものを消す。

参考:http://programming-ios.com/xcode-copypngfile-error/