I am facing a problem that is quite strange. I just want to set an ImageLiteral to the UIImageView and it crashes the app without popping up any error or exception. It tried it in simulator and everything is ok. But when I install my app on iPad (6th) iOS 13.6, it crashed.
The project is working fine on 2019/8/15. I just pull it and rebuild on real device, didn't change a thing for this part. The deployment target version is iOS 10. Maybe it's because I didn't config the dark mode things? Any idea?
@IBOutlet weak var anatomyImgView: UIImageView!
anatomyImgView.image = #imageLiteral(resourceName: "bodyoutline_black")
Update:
Here's the image configuration