4 ms·
>But…you can? I have a UI test that generates screenshots in the simulator and I upload those. It complained about the alpha channel, and I needed to open (in
by lol768 7y ago
>But…you can? I have a UI test that generates screenshots in the simulator and I upload those.
It complained about the alpha channel, and I needed to open (in GIMP) all of the screenshots created by the Xcode simulator in order to strip it out.
I'm not making this up, countless other developers have wasted time on this sort of nonsense: https://stackoverflow.com/questions/25681869/images-cant-contain-alpha-channels-or-transparencies https://stackoverflow.com/questions/25681869/images-cant-con...
- saagarjha 7y agoI have never gotten a screenshot from the simulator that contains an alpha channel…
- lol768 7y agoYou're incredibly lucky then :) There are multiple posts on Reddit, StackOverflow and Apple's own product support site about this: https://www.reddit.com/r/iOSProgramming/comments/9fd7qu/taking_screenshots_in_the_simulator_for_app_store/ https://www.reddit.com/r/iOSProgramming/comments/9fd7qu/taki... https://forums.developer.apple.com/thread/108462 https://forums.developer.apple.com/thread/108462 https://stackoverflow.com/a/54653683/5056459 https://stackoverflow.com/a/54653683/5056459