Reference checking for image literals
| Originator: | bwhiteley | ||
| Number: | rdar://26948050 | Date Originated: | June 22 2016 |
| Status: | Open | Resolved: | |
| Product: | Xcode | Product Version: | 8 |
| Classification: | Enhancement | Reproducible: | Yes |
Summary: Image literals should be type safe, meaning that the build should fail if a referenced image literal does not exist in an available catalog. Steps to Reproduce: Open and run the attached project, note that it works. Go to Assets.xcassets and rename the "quinn" image set. Build and Run. Expected Results: The build should fail. Actual Results: The build succeeds but the app crashes at runtime. Version: Version 8.0 beta (8S128d)
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!