Search code examples
iosxcodeios-simulatorscreenshot

Xcode 12.0.1 Screenshot is capturing only Home-screen on iOS simulator


While trying to capture a screenshot on Xcode V12.0.1 - the app screen turns to "Home screen" (of IOS) and a screenshot on the home screen is prodcued instead of the app screen.

It was working fine a week before, but my OS and Xcode were auto updated last week to MacOS 10.15.7 and Xcode V12.0.1 and since then i am unable to take screenshots of the simulator.

enter image description here


Solution

  • I ran into this issue and as of now I can only provide a work arround - Use command line to take the screenshot

    • cd to the folder that you want save the screenshots to.
    • Run xcrun simctl io booted screenshot Screenshot.png