Reputation: 86057
I recently migrated launch images to an Asset Catalog but am getting this error:
CopyPNGFile
Can't find /Path/To/App/Default.png Command /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/copypng failed with exit code 1
I deleted the Default.png in the root path and can see I have a version in the Asset Catalog (e.g. by using Show in Finder
).
Why can't Xcode find these images?
Upvotes: 1
Views: 1337
Reputation: 2856
It seems there is a dangling reference to the file in Build phases
tab of your target in Copy Bundle Resrouces
section.
This is how it looks like: https://i.sstatic.net/0cmUm.png - just find red entry in the list and delete it.
update
Make sure you have migrated your launch image to assets catalog too.
Upvotes: 5