Skip to content

camera plugin test -[CameraOrientationTests testOrientationNotifications] Failed to set device orientation: Not authorized for performing UI testing actions #84162

@jmagman

Description

@jmagman

On Xcode 13.0 beta 1, -[CameraOrientationTests testOrientationNotifications] introduced in flutter/plugins#4010 fails:

XCUIDevice.sharedDevice.orientation = UIDeviceOrientationPortrait;

Error: Failed to set device orientation: Not authorized for performing UI testing actions.

https://github.com/flutter/plugins/blob/af2407514b0bcee1777f9e17ba94c23781b7c19f/packages/camera/camera/example/ios/RunnerTests/CameraOrientationTests.m#L27

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listc: contributor-productivityTeam-specific productivity, code health, technical debt.p: cameraThe camera plugin

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions