Open crazymanpj opened 3 years ago
This is the translated issue:
Macaca Doctor logs : Macaca-Doctor Version: 2.0.18
Node.js Checklist:
Node env: / usr / local / bin / node Node Version: V8.14.0
ios Checklist:
Macos Version: 10.15.5
Xcode Command Line Tools Is Ready, Version: 2373.
XcodeBuild Version: 12.2
iProxy [USBMUXD] IS Installed At: / usr / local / bin / iProxy
iOS_Webkit_Debug_proxy is installed at: / usr / local / bin / iOS_webkit_debug_proxy
Android Checklist:
Java Version IS 1.8
Java_home is not set
Android_home is not set
Command Line Tools: gradle is uninstalled
Installed Driver List:
Android: 2.2.1 Location: / usr / local / lib / node_modules / macaca-android
Electron: 7.0.4 Location: / usr / local / lib / node_modules / macaca-electron
iOS: 2.1.0 Location: / usr / local / lib / node_modules / macaca-ios
iOS14.2 version of iPhone, Xcode12.2 environment, run iOS automation test error [xctestDriver sharedtestdriver]: unrecognized selector Sent to class 0x100672ed8 ', the specific execution is performed to send_keys this API The detailed Server log is as follows:
Xctest-Client.js: 206: 16 [Master] PID: 79162 T = 24.90s Find The "Username" TextField
Xctest-Client.js: 206: 16 [Master] PID: 79162 T = 24.93S Find The "Username" TextField
Xctest-Client.js: 206: 16 [Master] PID: 79162 T = 24.96s Find The "Username" TextField
Xctest-Client.js: 206: 16 [Master] PID: 79162 T = 24.98s TAP "Username" TextField
XCTEST-Client.js: 206: 16 [Master] PID: 79162 T = 24.99s Wait for com.kingsoft.www.Office.wpsoffice.debug to id
xctest-client.js: 206: 16 [master] pid: 79162 2021-03-24 11: 38: 25.824228 + 0800 XCTestWDUITests-Runner [5444: 150994] [XCTestWDUITests-Runner] findWriterForTypeAndAlternateType: 119: unsupported file format ' Public.heic '
xctest-client.js: 206: 16 [master] pid: 79162 2021-03-24 11: 38: 25.824416 + 0800 XCTestWDUITests-Runner [5444: 150994] [XCTestWDUITests-Runner] findWriterForTypeAndAlternateType: 119: unsupported file format ' Public.heic '
Xctest-Client.js: 206: 16 [Master] PID: 79162 T = 25.04s Find The "Username" TextField
Xctest-Client.js: 206: 16 [Master] PID: 79162 T = 25.07S Check for Interrupting Elements Affecting "UserName" TextField
Xctest-Client.js: 206: 16 [Master] PID: 79162 T = 25.10S Synthesize Event
xctest-client.js: 206: 16 [master] pid: 79162 2021-03-24 11: 38: 25.935001 + 0800 XCTestWDUITests-Runner [5444: 150994] [XCTestWDUITests-Runner] findWriterForTypeAndAlternateType: 119: unsupported file format ' Public.heic '
xctest-client.js: 206: 16 [master] pid: 79162 2021-03-24 11: 38: 25.935185 + 0800 XCTestWDUITests-Runner [5444: 150994] [XCTestWDUITests-Runner] findWriterForTypeAndAlternateType: 119: unsupported file format ' Public.heic '
Xctest-Client.js: 206: 16 [Master] PID: 79162 T = 25.21s Wait for com.kingsoft.www.office.wpsoffice.debug to id
xctest-client.js: 206: 16 [master] pid: 79162 2021-03-24 11: 38: 26.054801 + 0800 XCTestWDUITests-Runner [5444: 150994] [XCTestWDUITests-Runner] findWriterForTypeAndAlternateType: 119: unsupported file format ' Public.heic ' 2021-03-24 11: 38: 26.054985 + 0800 Xctestwduitests-Runner [5444: 150994] FindwriterfortypeandalternateType: 119: unsupported file format 'public.heic'
Xctest-Client.js: 206: 16 [Master] PID: 79162 T = 25.37S Find The "Username" TextField
Xctest-Client.js: 206: 16 [Master] PID: 79162 2021-03-24 11: 38: 26: 213 xctestwduitests-Runner [5444: 150994] xctestwd-debug-info: Dismiss Keyboard While Aborting SetValue, Element Does Not Have Focus
Xctest-Client.js: 206: 16 [Master] PID: 79162 2021-03-24 11: 38: 26.213280 + 0800 Xctestwduitests-Runner [5444: 151045] xctestwd-debug-info: Dismiss Keyboard While Aborting SetValue, Element Does Not Have Focus 2021-03-24 11: 38: 26.213761 + 0800 xctestwduitests-runner [5444: 150994] + [xctestdriver sharedtestdriver]: unrecognized selector Sent to class 0x100672ed8
xctest-client.js: 206: 16 [master] pid: 79162 2021-03-24 11: 38: 26.214811 + 0800 XCTestWDUITests-Runner [5444: 150994] Terminating app due to uncaught exception 'NSInvalidArgumentException', Reason: '+ [XctestDriver SharedTestDriver]: unrecognized selector Sent to class 0x100672ed8' First Throw Call Stack: (0x1b00d99d4 0x1c3a8ab54 0x1affee060 0x1b00dc018 0x1b00ddf8c 0x102bdbf98 0x1afd12280 0x1afcb62f4 0x102bdbea4 0x102bf4714 0x102beb170 0x102bea204 0x102be50dc 0x102be2000 0x102bdf3fc 0x102bdefb0 0x102bdf008 0x1afd12280 0x1afcc1c5c 0x1afd12280 0x1afcc105c 0x1b00595d0 0x1b0053a78 0x1b0052b90 0x1b12707f8 0x1b12a1964 0x102be0478 0x102a41dfc 0x102a41e70 0x1b00de130 0x1affc11c0 0x100549b60 0x100549b10 0x1005bd9f8 0x1005539bc 0x100549990 0x1005a1d48 0x100549478 0x10054ae88 0x1005a1d48 0x10054adc0 0x1005b5678 0x10054a688 0x10058dc24 0x10054411c 0x100543a28 0x1005b5678 0x1005b5588 0x1005439d0 0x100543cf8 0x10058dc24 0x10054411c 0x100543a28 0x1005b5678 0x1005b5588 0x1005439d0 0x100543cf8 0x10058dc24 0x10054411c 0x100543a28 0x1005b5678 0x1005b5588 0x1005439d0 0x100543cf8 0x10058dc24 0x1005c930c 0x1005b5678 0x1005b5588 0x1005c9260 0x1005c9408 0x10055e03c 0x1005c9030 0x100528bb8 0x1005b177c 0x100511674 0x100511658 0x1b0059940 0x1b0058bc8 0x1b00533e4 0x1b0052b90 0x1c6375598 0x1b293c638 0x1b2941bb8 0x1 00511840 0x1AFD31588)
Xctest-Client.js: 206: 16 [Master] PID: 79162 Libc ++ Abi.dylib: Terminating with Uncauption of Type NSEXCEPTION
Proxy.js: 63: 22 [Master] PID: 79162 XCTEST Client Proxy Error With: Error: Socket HANG Up
Macaca Doctor Logs: macaca-doctor version: 2.0.18
Node.js checklist:
node env: /usr/local/bin/node node version: v8.14.0
iOS checklist:
macOS version: 10.15.5 Xcode Command Line Tools is ready, version: 2373. xcodebuild version: 12.2 iproxy[usbmuxd] is installed at:
/usr/local/bin/iproxy
ios_webkit_debug_proxy is installed at:/usr/local/bin/ios_webkit_debug_proxy
Android checklist:
JAVA version is
1.8
JAVA_HOME is not set ANDROID_HOME is not set Command Line Tools: gradle is uninstalledInstalled driver list:
android: 2.2.1 location: /usr/local/lib/node_modules/macaca-android
electron: 7.0.4 location: /usr/local/lib/node_modules/macaca-electron
ios: 2.1.0 location: /usr/local/lib/node_modules/macaca-ios
ios14.2版本的iPhone,xcode12.2环境,运行iOS自动化测试报错[XCTestDriver sharedTestDriver]: unrecognized selector sent to class 0x100672ed8',具体执行是执行到send_keys这个api 详细server日志如下: