Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行 http://127.0.0.1:8100/status 时,xcode 报错 #271

Open
bluescurry opened this issue Oct 17, 2023 · 3 comments
Open

运行 http://127.0.0.1:8100/status 时,xcode 报错 #271

bluescurry opened this issue Oct 17, 2023 · 3 comments

Comments

@bluescurry
Copy link

xcode 版本是 15.0
IOS 版本是 17.0

报错信息如下:

2023-10-17 17:59:34.757279+0800 WebDriverAgentRunner-Runner[475:7718] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSXPCInterfaceProxy_XCTMessagingChannel_RunnerToDaemon _XCT_exchangeProtocolVersion:reply:]: unrecognized selector sent to instance 0x2807d4050'
*** First throw call stack:
(0x1afb165e0 0x1a7e47c00 0x1afba6eec 0x1afa5b7a8 0x1afb9c860 0x102b17f3c 0x1b7957300 0x1b7958b3c 0x102b17e4c 0x102b02af0 0x102aa08f4 0x102a8c4f8 0x102ac2ee4 0x102ac39d4 0x1b7957300 0x1b796678c 0x1b7957300 0x1b7965998 0x1b79655b0 0x1afa609bc 0x1afa5d6c8 0x1afa5ce18 0x1ae9f14cc 0x102a8b340 0x1028e016c 0x1afa5b134 0x1afa5abcc 0x102e5d3b0 0x102e5d368 0x102e5cbe8 0x102e19864 0x102e5c9c8 0x102e5d0b8 0x102e5d43c 0x102e4ef8c 0x102e27650 0x102e52008 0x102e4eef4 0x102e109b0 0x102e4ea68 0x102e503b8 0x102e109b0 0x102e4fe64 0x102e33418 0x102e33318 0x102e4f910 0x102dfcad4 0x102e36350 0x102e3621c 0x102e35cd0 0x102e33418 0x102e33318 0x102e35c4c 0x102e35ef4 0x102dfcad4 0x102e36350 0x102e3621c 0x102e35cd0 0x102e33418 0x102e33318 0x102e35c4c 0x102e35ef4 0x102dfcad4 0x10
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSXPCInterfaceProxy_XCTMessagingChannel_RunnerToDaemon _XCT_exchangeProtocolVersion:reply:]: unrecognized selector sent to instance 0x2807d4050'
*** First throw call stack:
(0x1afb165e0 0x1a7e47c00 0x1afba6eec 0x1afa5b7a8 0x1afb9c860 0x102b17f3c 0x1b7957300 0x1b7958b3c 0x102b17e4c 0x102b02af0 0x102aa08f4 0x102a8c4f8 0x102ac2ee4 0x102ac39d4 0x1b7957300 0x1b796678c 0x1b7957300 0x1b7965998 0x1b79655b0 0x1afa609bc 0x1afa5d6c8 0x1afa5ce18 0x1ae9f14cc 0x102a8b340 0x1028e016c 0x1afa5b134 0x1afa5abcc 0x102e5d3b0 0x102e5d368 0x102e5cbe8 0x102e19864 0x102e5c9c8 0x102e5d0b8 0x102e5d43c 0x102e4ef8c 0x102e27650 0x102e52008 0x102e4eef4 0x102e109b0 0x102e4ea68 0x102e503b8 0x102e109b0 0x102e4fe64 0x102e33418 0x102e33318 0x102e4f910 0x102dfcad4 0x102e36350 0x102e3621c 0x102e35cd0 0x102e33418 0x102e33318 0x102e35c4c 0x102e35ef4 0x102dfcad4 0x102e36350 0x102e3621c 0x102e35cd0 0x102e33418 0x102e33318 0x102e35c4c 0x102e35ef4 0x102dfcad4 0x102e36350 0x102e3621c 0x102e35cd0 0x102e33418 0x102e33318 0x102e35c4c 0x102e35ef4 0x102dfcad4 0x102dfebf4 0x102e33418 0x102e33318 0x102dfeabc 0x102e70568 0x102e706e8 0x102e2ff04 0x102e090e4 0x102e2f960 0x102dfd0b0 0x102511130 0x1025110cc 0x1afa60b58 0x1afa5f34c 0x1afa5d24c 0x1afa5ce18 0x1f25195ec 0x1b1e6b350 0x1b1e6a98c 0x102511390 0x1d223fd44)
libc++abi: terminating due to uncaught exception of type NSException

@biu2016
Copy link

biu2016 commented Nov 2, 2023

XCode Version 15.0.1 (15A507)
IOS 16.3.1
也是报的同样的错,127.0.0.1:8100/status 访问无任何信息返回,端口映射没有成功

@xxKarina
Copy link

xxKarina commented Nov 2, 2023

问题现象

Mac OS Sonoma 14
Xcode 15
iOS 16
/status endpoint
FBTestmanagerdVersion() crashed

image

问题原因

看似 XCTest API 中找不到 testmanagerd 方法,导致 crash

解决方案

使用默认版本兜底处理

@icyhins
Copy link

icyhins commented Nov 18, 2023

相同的问题,感觉获取这个Version并不重要,临时的方案是改成@“unknown”跳过
截屏2023-11-18 15 45 21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants