• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Weird Error on .png File
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Weird Error on .png File


  • Subject: Re: Weird Error on .png File
  • From: Alex Zavatone <email@hidden>
  • Date: Thu, 29 Jun 2017 08:20:26 -0500

It seems like you are having all the problems that I am.

2 possibilities.  1, it is corrupt and you need to reserve the file. 2, that
you have 2 files called icon.png in your Copy Files phase in your build
settings.  Filter your build settings on icon.png and see.

Good luck.
- Alex Zavatone

> On Jun 29, 2017, at 5:35 AM, Dave <email@hidden> wrote:
>
> Hi All,
>
> I’m getting this error when on a .png file I have in my project:
>
> (null): While reading
> /Documents/Development/Projects/LTW/DigitalChaosProject/DigitalChaos/LTWChaos/Resources/Images/Pieces/Image-Piece-ChaosColor3.png
>  pngcrush caught libpng error:
>
> The file is a small (128 x 128) image file I use in my App. It came from a
> Graphic Artist and opens ok, in Xcode Itself, Preview, Photoshop etc.
>
> (null): Could not find file:
> /Users/surfacedetail/Library/Developer/Xcode/DerivedData/LTWChaos-floepbeteydnkzcfqglhztcehlcb/Build/Products/Debug-iphonesimulator/LTWChaos.app/Image-Piece-ChaosColor3.png
> Command /Applications/Xcode.app/Contents/Developer/usr/bin/copypng emitted
> errors but did not return a nonzero exit code to indicate failure
>
> The files look fine, so not sure what the problem could be, I have other
> images that are the same size etc from the same source and these work ok,
> and, XCode opens the file if I double-click it from the project window.
>
> How can I fix this problem?
>
> Cheers
> Dave
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Documentation Viewer is Buggy (Game Kit) (From: Dave <email@hidden>)
 >Re: Documentation Viewer is Buggy (Game Kit) (From: Richard Charles <email@hidden>)
 >Re: Documentation Viewer is Buggy (Game Kit) (From: Dave <email@hidden>)
 >XCode has stopping doing Code Completion (From: Dave <email@hidden>)
 >Weird Error on .png File (From: Dave <email@hidden>)

  • Prev by Date: Re: Documentation Viewer is Buggy (Game Kit)
  • Next by Date: Re: Documentation Viewer is Buggy (Game Kit)
  • Previous by thread: Weird Error on .png File
  • Next by thread: Re: Weird Error on .png File
  • Index(es):
    • Date
    • Thread