1

After update OS X to El Capitain Xcode can't create build correctly. After start app crashes when try create UIImage instance

UIImage(named: "icon_back");

and get an error in console

[CUIThemeRendition newImageFromCSIDataSlice:ofBitmap: usingColorspace:] Unsupported pixel format in CSI got 4

Xcode - Version 6.4 Target iOS version - 7.0 OS X version - El Capitain

Update

I don't like this solution, but after Xcode reinstall this issue has been fixed.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Slavik Voloshyn
  • 647
  • 10
  • 20
  • Update to Xcode 7.1, please. See http://stackoverflow.com/questions/32911627/image-resources-xcassets-not-displayed-correctly-on-yosemite-in-application-bu – matt Nov 10 '15 at 17:06
  • Do see the question matt linked above, [image resources (xcassets) not displayed properly...](http://stackoverflow.com/questions/32911627/image-resources-xcassets-not-displayed-correctly-on-yosemite-in-application-bu) - though it's not identical to yours. Some people found that converting their .png image assets to .jpg fixed their problem. You might try that... – leanne Nov 10 '15 at 19:32
  • @matt Can't update to 7.1, because my project is written on swift 1.2. Xcode 7.1 want move it to swift 2 – Slavik Voloshyn Nov 11 '15 at 08:54
  • Swift 2 is much better and fixes many bugs. – matt Nov 11 '15 at 15:46
  • Xcode will automatically update your code for you. – Caleb Kleveter Nov 11 '15 at 18:26

0 Answers0