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

TencentLBSLocationManager 无法正常 Mock GPS 信息 #35

Closed
EyreFree opened this issue Feb 2, 2019 · 3 comments
Closed

TencentLBSLocationManager 无法正常 Mock GPS 信息 #35

EyreFree opened this issue Feb 2, 2019 · 3 comments
Labels
todo 接下来要做的事情

Comments

@EyreFree
Copy link
Contributor

EyreFree commented Feb 2, 2019

1. 期望的表现和实际的表现。(如有)

正常 Mock GPS 信息

2. 问题重现的步骤。(如有)

使用腾讯云 SDK 的 pod 库 QCloudCOSXML 后,初始化 TencentLBSLocationManager 时,挂在 CLLocationManager+Doraemon.m 的第 28 行:

NSAssert(NO, @"你在Delegate %@ 中所使用的SEL %@,暂不支持,请联系DoraemonKit开发者",delegate,sel);

delegate 类型为 TencentLBSLocationManager

3. Android 还是 iOS?系统版本是多少?手机品牌是什么?(如有)

iOS / 任意型号

4. 其他的错误信息和堆栈信息如果有也可以一并提供出来。(如有)

@EyreFree
Copy link
Contributor Author

EyreFree commented Feb 2, 2019

临时解决方案:暂时移除 GPS Mock 模块

参见 GPS 模块独立为 subspec 的 PR:#37

@yixiangboy
Copy link
Contributor

是有可能发生的,这种mockGPS方案是把所有的定位回调都传给DoraemonGPSMocker,然后DoraemonGPSMocker再做一次分发。你的这种错误就是你实现的回调,DoraemonGPSMocker没有实现而导致的。如果 有解决方案的话 , 我们会在这里同步。多谢您的提醒

@yixiangboy yixiangboy added the todo 接下来要做的事情 label Feb 13, 2019
@yixiangboy
Copy link
Contributor

请更新到1.1.7版本

aishen1874nzch0f added a commit to aishen1874nzch0f/philipgoldt that referenced this issue Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
todo 接下来要做的事情
Projects
None yet
Development

No branches or pull requests

2 participants