Problem with Sprite Helper, Level Helper, Interlaced PNG
So....
I have this project in which I use @vladubogdan's Level Helper and Sprite Helper. Then I get this extremely annoying bug that I can't figure out the root:
If I run it on device the first time, the pictures are showing. Second time, not showing, third time showing, etc. WHAT HAS GONE WRONG?
Then I tried to clear the project and re build and I got this:
I have this project in which I use @vladubogdan's Level Helper and Sprite Helper. Then I get this extremely annoying bug that I can't figure out the root:
If I run it on device the first time, the pictures are showing. Second time, not showing, third time showing, etc. WHAT HAS GONE WRONG?
Then I tried to clear the project and re build and I got this:
CopyPNGFile /Users/firman/Library/Developer/Xcode/DerivedData/Dotugov2-fhgqwfonumwjtachcdehbmsgrfdu/Build/Products/Debug-iphoneos/Dotugov2.app/timeselect-hd.png Dotugov2/Resources/Images/timeselect-hd.png
cd /Users/firman/Documents/ios-project/Dotugov2
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/Library/Xcode/PrivatePlugIns/iPhoneOS Build System Support.xcplugin/Contents/Resources/copypng" -compress "" /Users/firman/Documents/ios-project/Dotugov2/Dotugov2/Resources/Images/timeselect-hd.png /Users/firman/Library/Developer/Xcode/DerivedData/Dotugov2-fhgqwfonumwjtachcdehbmsgrfdu/Build/Products/Debug-iphoneos/Dotugov2.app/timeselect-hd.png
While reading /Users/firman/Documents/ios-project/Dotugov2/Dotugov2/Resources/Images/timeselect-hd.png pngcrush caught libpng error:
\341\217
While reading /Users/firman/Documents/ios-project/Dotugov2/Dotugov2/Resources/Images/timeselect-hd.png pngcrush caught libpng error:
I googled and arrived here:
It says that the such error is caused by interlaced PNG images. I tried to resave the PNG images to non interlaced but to no avail. I don't know what to do next...
0 komentar:
Posting Komentar