11

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

 CpResource "Color Calculator/X.png"    
 "/Users/mauro/Library/Developer/Xcode/DerivedData/Color_Calculator-eomtenpvfeomibgervrskkupofrx/Build/Products/Debug-iphonesimulator/Color Calculator.app/X.png"

It seems that Xcode wants to copy X.png in the DerivedData.

But I don't have X.png in my project. I use to have it, but it was deleted some versions ago (with many other png). In order to verify, I deleted all the objects in project's xibs. So now I have two empty xib, however the error message continues to appear.

Thank you.

boscarol
  • 1,901
  • 2
  • 15
  • 29

2 Answers2

34

Click on your project, go in the tab "Build phase" then in the tab "Copy bundle ressources" and delete the .png to tell xcode to stop trying to copy it :)

jszumski
  • 7,430
  • 11
  • 40
  • 53
John Smith
  • 1,194
  • 1
  • 12
  • 30
0

Copy-bundle-ressources

In my case I removed the icon and added my "LAUNCH SCREEN and MAIN STRORY BOARD".

Community
  • 1
  • 1
Oskar
  • 2,522
  • 32
  • 37