Xcode 6 (Beta 3): Unsupported Pixel Format in Csi or Unable to Create Unsliced Image from Csi Bitmap Data

Xcode 6 (beta 3): Unsupported pixel format in CSI or Unable to create unsliced image from csi bitmap data

This is caused by a bug in Xcode 6 (beta 3 at this time). It appears to occur only if your build target is iOS 7.x

To work around this issue:

1) delete the files from the Images.xcassets container.

2) place the images directly into the "Supporting Files" folder.

Note: It is not required to add the ".png" extension within your code, making this a clean workaround.

Please create a RADAR (bug report) to Apple.

Can't change UITabBarItem.image: Unsupported pixel format in CSI

Grr.

It seems to be an iOS 7 issue. It works in iOS 8.

Beta 2 generated iOS 7 stuff; no problem.

Beta 3 seems to be geared towards iOS 8 only.

I suspect folks trying Swift on iOS 7 are S.O.L.

I have a project that I'll upload to my server that you can mess with.

UPDATE: here's the test project

UPDATE 2 (July 21, 2014): This bug appears to be fixed in Xcode 6 beta 4.

However, Swift seems to be a rather quickly moving target...

Assets don't load on iOS8 but they do in iOS9

I finally found the answer to that problem. Basically it's because you got in the Asset Catalog Compiler options the Optimization field set to the property save, set it to nil and it works !



Related Topics



Leave a reply



Submit