bytedance / Fastbot_iOS

About Fastbot(2.0) is a model-based testing tool for modeling GUI transitions to discover app stability problems
Other
556 stars 112 forks source link

unrecognized selector sent to instance 0x2828330c0 #113

Open qingtianwaa opened 1 year ago

qingtianwaa commented 1 year ago

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 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 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 finished before its children finished
zongshuren commented 1 year ago

解决了吗

wangchy0927 commented 1 year ago

同样的问题

qingtianwaa commented 1 year ago

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

image

【第 2 步】:

image
qingtianwaa commented 1 year ago

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

image
zongshuren commented 1 year ago

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

qingtianwaa commented 1 year ago

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

那你控制台有报错吗

zongshuren commented 1 year ago

没看出来那块有问题

image
zongshuren commented 1 year ago

现在是一毛一样的错误了

image
qingtianwaa commented 1 year ago

没看出来那块有问题 image

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

qingtianwaa commented 1 year ago

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

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

zongshuren commented 1 year ago

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

qingtianwaa commented 1 year ago

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

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

zongshuren commented 1 year ago

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

qingtianwaa commented 1 year ago

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

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

zongshuren commented 1 year ago

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

---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 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: @.***>

qingtianwaa commented 1 year ago

我上周莫名其妙的跑了起来一次,然后到现在一直也没重新跑起来,怀疑人生 ---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 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 commented 1 year ago

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

qingtianwaa commented 1 year ago

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

哈哈,你现在有思路了吗

zongshuren commented 1 year ago

解决了

zongshuren commented 1 year ago

zongshuren@163.com 直接用个人邮箱联系下我 加个好友

qingtianwaa commented 1 year ago

zongshuren@163.com 直接用个人邮箱联系下我 加个好友

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

phoneTestter commented 1 year ago

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