The app previews and screenshots for the iPhone 5.8-Inch display won’t appear on the App Store because your binary wasn’t built with the iOS 11 SDK

I was able to create and run an ipa on an iPhone 8 with iOS 11. I did have to change the CSP: