Xcode autocompletes image literals from wrong target

Originator:bwhiteley
Number:rdar://26935354 Date Originated:June 21 2016
Status:Open Resolved:
Product:Xcode Product Version:8 beta 1
Classification:Bug Reproducible:Yes
 
Summary:
Xcode will autocomplete image literals from .xcassets files that are not included in the same target as the source file currently being edited. 

Note the attached screenshot. Only one of those completions is in the same target as the source file. The others will autocomplete and build without error, but will crash at runtime.


Version:
Xcode 8 beta 1

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!