copypng failed with exit code 1 error


에러내용.



Command /Applications/Xcode.app/Contents/Developer/usr/bin/copypng failed with exit code 1


CopyPNGFile /Users/aaaa/Library/Developer/Xcode/DerivedData/ccc-gxphlahfkjoseugsbffohbqzdfom/Build/Intermediates/ArchiveIntermediates/bbb/InstallationBuildProductsLocation/Applications/bbb.app/ic_search_w.png Resources/images/ic_search_w.png

    cd /Users/aaaa/ccc-SVN/trunk

    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"

    /Applications/Xcode.app/Contents/Developer/usr/bin/copypng -compress -strip-PNG-text /Users/aaaa/ccc-SVN/trunk/Resources/images/ic_search_w.png /Users/aaaa/Library/Developer/Xcode/DerivedData/ccc-gxphlahfkjoseugsbffohbqzdfom/Build/Intermediates/ArchiveIntermediates/bbb/InstallationBuildProductsLocation/Applications/bbb.app/ic_search_w.png


----

테스트할때는 문제가 없는데 꼭 앱스토어에 등록할때마다 위의 에러가 발생했는데 다시 빌드하면 성공을 해서 그냥 뒀는데, 

너무 빈번하게 발생하여 찾아보니  ic_search_w.png 이미지가 중복되어서 나타나는 경우였네요. 

ex ) root/ic_search_w.png , root/common/ic_search_w.png 


그럼 도움이 됐길!