1

I have a project where I use Images.xcassets to organize my image resources. After update to Xcode 6 beta no image is displayed when the application runs. It looks like Xcode can't find path.

I found a temporary solution – old way:

  1. Add folder with images to the project tree
  2. Use initialization like [UIImage imageNamed:@"image.png"]

So, what's wrong with xcassets in Xcode 6?

Cœur
  • 37,241
  • 25
  • 195
  • 267
AlexEdunov
  • 357
  • 1
  • 15
  • Marked. I met the same problem. After reading your post, I reopened Xcode 5, all runs well. It looks that beta version is just used for test. – ManuQiao Jun 23 '14 at 06:55
  • @AlexEdunov try something from [this][1] [1]: http://stackoverflow.com/questions/20443306/accidentally-removed-xcassets-file-from-xcode-project – Bimawa Jun 29 '14 at 18:03

2 Answers2

1

Try removing the .png suffix of the image. Just the image name is enough

Gui Moura
  • 1,360
  • 1
  • 16
  • 26
0

That is Xcode6-Beta bug. I use it normally in Xcode5. goog luck

李馥瑞
  • 31
  • 1