Menu

Fixing App Store Connect screenshot errors: wrong dimensions and alpha channels
📰

Fixing App Store Connect screenshot errors: wrong dimensions and alpha channels

DEV Community: ios·duo shot·13 days ago
#PAPut4wb
#devtoios#devto#dev#alpha#sips
Reading 0:00
15s threshold

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.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.