Build app with Xcode 4 - it always show some error about PNG image

前端 未结 22 1005
走了就别回头了
走了就别回头了 2020-12-07 12:46

When I build my app with Xcode 4 it always show this error message:

CopyPNGFile /Users/michaelchen/Library/Developer/Xcode/DerivedData/iMusicBox-boeawugacmha         


        
22条回答
  •  被撕碎了的回忆
    2020-12-07 12:58

    Error:

    While reading /Volumes/Mac OS/RDC/Workpot/RestApp/RestApp/default1024_768.png pngcrush caught libpng error: Not a PNG file..

    Solution:

    1. I have opened "default1024_768" file in PaintBrush tool and saveAs PNG file with same name.
    2. Replaced the Icon file in Xcode project.
    3. Clean --> Build

    That's All its work like charm

    Hope this will help someone.

提交回复
热议问题