Reply to Xcode 12.4: Image Literal returns error message Use the following code:- diceImageView.image = #imageLiteral( it will automatically set you an arrays of pictures you have set for your project! Thank you! Syed Ajaz Mumtaz Developer Tools & Services Xcode Feb ’22