App Store Connect usually gives you two kinds of screenshot errors: the dimensions are wrong, or the file has an alpha channel. Both are quick to check from the terminal on a Mac before you upload anything.
1. Check dimensions and alpha with sips
sips ships with macOS:
for f in * .png ; do sips -g pixelWidth -g pixelHeight -g hasAlpha " $f " | tr '\n' ' ' ; echo done
Enter fullscreen mode
Exit fullscreen mode
Compare the output with Apple's screenshot specifications . A few common portrait sizes:
iPhone 6.3" (required slot): 1206 × 2622 or 1179 × 2556
iPhone 6.9": 1320 × 2868
iPhone Duo outer: 1398 × 2034
iPhone Duo inner: 2007 × 2853
For landscape, swap width and height. If the numbers match but Connect still complains, you're probably dropping the file into the wrong device slot, or the orientation doesn't match the rest of the set.
2. Remove the alpha channel
Screenshots exported from design tools often keep an alpha channel even when every pixel is opaque.…