Repository navigation
Screenshot on physical device does not work with iOS 17 / Xcode 15 #128598
Description
Activity
- addedplatform-iosiOS applications specificallyiOS applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.t: xcode"xcodebuild" on iOS and general Xcode project management"xcodebuild" on iOS and general Xcode project managemente: OS-version specificAffects only some versions of the relevant operating systemAffects only some versions of the relevant operating system
on Jun 9, 2023 - addedteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team
on Jul 8, 2023 - addedP1High-priority issues at the top of the work listHigh-priority issues at the top of the work list
on Jul 18, 2023 - removedtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team
on Dec 27, 2023 This issue is marked P1 but has had no recent status updates.
The P1 label indicates high-priority issues that are at the top of the work list. This is the highest priority level a bug can have if it isn't affecting a top-tier customer or breaking the build. Bugs marked P1 are generally actively being worked on unless the assignee is dealing with a P0 bug (or another P1 bug). Issues at this level should be resolved in a matter of months and should have monthly updates on GitHub.
Please consider where this bug really falls in our current priorities, and label it or assign it accordingly. This allows people to have a clearer picture of what work is actually planned. Thanks!
- addedP2Important issues not at the top of the work listImportant issues not at the top of the work listand removedP1High-priority issues at the top of the work listHigh-priority issues at the top of the work list
on Jan 2, 2024 1 remaining item
Just FYI using older Flutter 3.16.4 on MacOS 14.4, the error message I get is:
% flutter screenshot Screenshot not supported for Maksim’s iPhone.This should be fixable now with Xcode 27.
Xcode 27 provides
devicectl device capture, which "Captures the device's screen"Reacted by Jenn Magder- moved this to Not started in Apple release: Xcode, iOS, macOS
on Jun 9, 2026 Huh
devicectl device capturealso works on 26.4. I wonder when it was first introduced.Huh
devicectl device capturealso works on 26.4. I wonder when it was first introduced.I think that's a red herring. After installing Xcode 27,
devicectlbecomes installed as a system command line (likexcodebuild) and refused to use the version from Xcode (even when usingxcrunor accessing it directly by path like/Applications/Xcode-26-4.app/Contents/Developer/usr/bin/devicectl). If you doxcrun devicectl --version, you can see it's still using the Xcode 27 version even if Xcode 26 is selectedReacted by Loïc SharmaThat's... bonkers. I'm sad now.
Xcode 15 is our minimum now as of #180531. Which means
idevicescreenshotdoesn't work with any configuration with latest Flutter (though maybe still works with < iOS 17 and Xcode 15? Unclear, but I doubt many devs are building their apps on iOS 16). That means we can:- Add the
devicectl device capturecode for Xcode 27. - Change the < Xcode 27 fallback to
toolExitwith: "flutter screenshotrequires Xcode 27 or higher." - Remove the
_iMobileDevice.takeScreenshotcode. - Stop building and shipping
idevicescreenshot, which will be one fewer tool in ourlibimobiledevicesuite Investigate alternatives to libimobiledevice #6118, down to onlyidevicesyslog.
@vashworth wdyt?
Reacted by Victoria Ashworth- Add the
- moved this from In Progress to Done in Apple release: Xcode, iOS, macOS
on Jul 31, 2026 - added a commit that references this issue
on Jul 31, 2026 This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.- locked as resolved and limited conversation to collaborators
on Aug 14, 2026
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
flutter screenshotis broken with new iOS 17 / Xcode 15. This is due to essentially the same issue as #128531.There's already an issue with libimobiledevice: libimobiledevice/libimobiledevice#1465, libimobiledevice/libimobiledevice#1452