Reputation: 77631
I've just finished my project and I was trying to add the correct Default images to it.
I got a build error with pngcrush so I deleted the Default images and tried re-adding them...
Now I get build failed and this error...
CopyPNGFile "/Users/me/Library/Developer/Xcode/DerivedData/appName-focehhxhholrseatdpjqdglseomk/Build/Products/Debug-iphoneos/appName.app/[email protected]" "i-snapshot/[email protected]"
cd /Users/me/Documents/appName
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/copypng -compress "" "/Users/me/Documents/appName/appName/[email protected]" "/Users/me/Library/Developer/Xcode/DerivedData/appName-focehhxhholrseatdpjqdglseomk/Build/Products/Debug-iphoneos/appName.app/[email protected]"
Can't find /Users/me/Documents/appName/appName/[email protected] /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/copypng failed with exit code 1
I've tried:
now I'm stuck, no idea what to do and the app just won't build at all.
Upvotes: 2
Views: 3858
Reputation: 57
Goto project target ->Build Phases -> Copy Bundle Resources
and search for your image file name
and remove duplicate image file name
Upvotes: 3