testableapple/xcmonkey

Does it work with real device?

Closed this issue · 1 comments

TMTBO commented

Does it work with real iphone device? I got some error below.

▶ xcmonkey test --udid "ed88e86cc322dbe49cd3de315b0f8c5699439d1d" --bundle-id "com.apple.Music" --duration 100
11:33:11.051: Device info: iPhone 7p | ed88e86cc322dbe49cd3de315b0f8c5699439d1d | Booted | device | iOS 14.7.1 | arm64 | /tmp/idb/ed88e86cc322dbe49cd3de315b0f8c5699439d1d_companion.sock

Target doesn't conform to FBSimulatorLifecycleCommands protocol ed88e86cc322dbe49cd3de315b0f8c5699439d1d | iPhone 7p | Booted | iPhone 7 Plus | OS 'iOS 14.7.1' | arm64
Target doesn't conform to FBAccessibilityCommands protocol ed88e86cc322dbe49cd3de315b0f8c5699439d1d | iPhone 7p | Booted | iPhone 7 Plus | OS 'iOS 14.7.1' | arm64
error: 859: unexpected token at ''. Use --trace to view backtrace

Hi @TMTBO,

At the moment, unfortunately, it does not. It depends on idb which does not support UI commands on real devices yet due to iOS restrictions.
I'll probably state this in the readme.md in the next update.

Best wishes,
Alex