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

unrecognized selector sent to instance 0x2828330c0 #113

Open
qingtianwaa opened this issue Nov 14, 2022 · 22 comments
Open

unrecognized selector sent to instance 0x2828330c0 #113

qingtianwaa opened this issue Nov 14, 2022 · 22 comments

Comments

@qingtianwaa
Copy link

2022-11-14 19:53:39.103278+0800 FastbotRunner-Runner[31900:2488183] Running tests...
Test Suite 'Selected tests' started at 2022-11-14 19:53:40.146
Test Suite 'FastbotRunner.xctest' started at 2022-11-14 19:53:40.146
Test Suite 'FastbotRunner' started at 2022-11-14 19:53:40.146
Test Case '-[FastbotRunner testPingNetwork]' started.
t = 0.00s Start Test at 2022-11-14 19:53:40.147
2022-11-14 19:53:40.148867+0800 FastbotRunner-Runner[31900:2488183] -[XCTScreenshotRequest initWithScreenID:rect:encoding:options:]: unrecognized selector sent to instance 0x2828330c0
t = 0.00s Tear Down
2022-11-14 19:53:40.169879+0800 FastbotRunner-Runner[31900:2488183] -[XCTScreenshotRequest initWithScreenID:rect:encoding:options:]: unrecognized selector sent to instance 0x282822a40
:0: error: FastbotRunner : -[XCTScreenshotRequest initWithScreenID:rect:encoding:options:]: unrecognized selector sent to instance 0x282822a40
(

....
....

Test Suite 'FastbotRunner' failed at 2022-11-14 19:53:40.172.
Executed 0 tests, with 1 failure (1 unexpected) in 0.000 (0.026) seconds
WARNING: Test suite <XCTestCaseSuite:0x281e98140, 1, FastbotRunner> finished before its children finished
Test Suite 'FastbotRunner.xctest' failed at 2022-11-14 19:53:40.172.
Executed 0 tests, with 1 failure (1 unexpected) in 0.000 (0.026) seconds
WARNING: Test suite <XCTestSuite:0x281e98050, 1, FastbotRunner.xctest> finished before its children finished
Test Suite 'Selected tests' failed at 2022-11-14 19:53:40.172.
Executed 0 tests, with 1 failure (1 unexpected) in 0.000 (0.027) seconds
WARNING: Test suite <XCTestSuite:0x281e98000, 1, Selected tests> finished before its children finished

@zongshuren
Copy link

解决了吗

@wangchy0927
Copy link

同样的问题

@qingtianwaa
Copy link
Author

qingtianwaa commented Nov 21, 2022

暂时找到原因了,可以尝试在 XCode 中把下面的勾去掉。
【第 1 步】:
image

【第 2 步】:
image

@qingtianwaa
Copy link
Author

【注意】:
上面的 2 个 步骤,我试了确实可以解决当前这个问题,但是在后面实际跑 App 的 Monkey 时,会发现跑个大概 3s 左右,又会报出下面的错误,这个错误的原因还在看,如果大家有这个错误的解决思路,及时回复我下,谢谢啦。
image

@zongshuren
Copy link

我的是直接跳转到首页然后就不动了 应用起不来 卡了好久

@qingtianwaa
Copy link
Author

我的是直接跳转到首页然后就不动了 应用起不来 卡了好久

那你控制台有报错吗

@zongshuren
Copy link

没看出来那块有问题
image

@zongshuren
Copy link

现在是一毛一样的错误了
image

@qingtianwaa
Copy link
Author

没看出来那块有问题 image

这个问题看着和我那个启动后,不是同一类问题。

@qingtianwaa
Copy link
Author

现在是一毛一样的错误了 image

是的,这个报错现在是一模一样的了

@zongshuren
Copy link

我再琢磨琢磨 您解决了麻烦也说声

@qingtianwaa
Copy link
Author

我再琢磨琢磨 您解决了麻烦也说声

嗯,好。我也还在找原因。

@zongshuren
Copy link

不行了我看烦躁了 调研别的去了 我太菜了

@qingtianwaa
Copy link
Author

不行了我看烦躁了 调研别的去了 我太菜了

稳住,事出必有因,我还在找....虽然我也快吐了

@zongshuren
Copy link

zongshuren commented Nov 22, 2022 via email

@qingtianwaa
Copy link
Author

我上周莫名其妙的跑了起来一次,然后到现在一直也没重新跑起来,怀疑人生

---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2022年11月22日 14:16 | | 收件人 | @.> | | 抄送至 | @.@.> | | 主题 | Re: [bytedance/Fastbot_iOS] unrecognized selector sent to instance 0x2828330c0 (Issue #113) | 不行了我看烦躁了 调研别的去了 我太菜了 稳住,事出必有因,我还在找....虽然我也快吐了 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

我脑瓜子快裂开了,到现在还没解决...

@zongshuren
Copy link

两周工时啥都没搞出来 ,要挨训了

@qingtianwaa
Copy link
Author

两周工时啥都没搞出来 ,要挨训了

哈哈,你现在有思路了吗

@zongshuren
Copy link

解决了

@zongshuren
Copy link

[email protected] 直接用个人邮箱联系下我 加个好友

@qingtianwaa
Copy link
Author

[email protected] 直接用个人邮箱联系下我 加个好友

大佬,看下邮件,已经发过去了。

@phoneTestter
Copy link

@zongshuren 大佬能分享一下吗~头疼好几天了这个问题

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