Image assets built in Swift/Xcode6 don't appear on iOS7.1 devices
| Originator: | floguy | ||
| Number: | rdar://17186892 | Date Originated: | 05-Jun-2014 03:41 PM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode Version 6.0 (6A215l) |
| Classification: | No Value | Reproducible: | Yes |
Summary: If you create a Swift project with a storyboard containing UIImageViews, then set the target to iOS7.1, the images will appear on the simulator but not on the actual device. On the device, calling UIImage(named: "blah") returns null according to my debugging session. Steps to Reproduce: 1. Create a Swift project with a storyboard 2. Drag a UIImageView on the scene 3. Drag an image into the asset catalog 4. Set the UIImageView from the storyboard to the image in the asset catalog 5. Set the SDK target to 7.1 6. Run on a Device (tested on A1429 model iPhone 5) Expected Results: The image should show up. Actual Results: The image does not show up. Version: Xcode Version 6.0 (6A215l) OS X 10.9.3 Build 13D65
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!