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
Issue with Encoding "&" in Urls
What Is the Purpose of Firebase Appcheck
Extract 4 Bits of Bluetooth Hex Data
Uitapgesturerecognizer Called Immediately
How to Change Uitextfield Color in Searchcontroller
Spritekit, Swift 2.0 - Scrollview in Reverse
Swift App Crashes on Real Device But Works on Simulator
How to Use Alamofires Servertrustpolicy.Disableevaluation in Swift 3
Which View Controller Should I Pass in My Swift Native Code for a Flutter Plugin
Transfer Gestures on a Uiview to a Uitableview in Swift - iOS
How to Crop Image in Circle Shape with Grid Inside Circle
How to Parse a Iso 8601 Duration Format in Swift
Apply Nspredicate on [(String, Array<String>)]
Attempting to Segue from Objective-C to Swift Vc
Making the Map Zoom to User Location and Annotation (Swift 2)