appium / WebDriverAgent

A WebDriver server for iOS and tvOS
Other
1.15k stars 363 forks source link

The cloud real machine function flashes down #906

Closed jianghuihon closed 1 month ago

jianghuihon commented 1 month ago

After I delete the xctest file in the webDriverAgent compilation package file using iOS 17 or above, I sign the package and install it in the mobile phone below iOS 17. Then, when the automatic script was executed by the replayKit framework to complete the automatic live broadcast function, webDriverAgent flashed back. The log message that flashes back is like this:

[D 240531 10:50:11 _device:947] 2024-05-31 10:50:13.363426+0800 MTA-Service-Runner[971:72634] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'runActivityNamed:inScope must be called from the main thread.'

The following is the relevant screenshot

image