【发布时间】:2019-05-03 22:01:04
【问题描述】:
【问题讨论】:
标签: ios location xctest simulator xcuitest
【问题讨论】:
标签: ios location xctest simulator xcuitest
这应该是答案:
https://willowtreeapps.com/ideas/simulating-location-in-ios
仅在 XCode 中设置是行不通的,您还必须检查并正确设置 Simulator->Debug->Location。
【讨论】:
好的,在对我们的 repo 进行了广泛的测试之后——这就是你要找的东西:
https://github.com/JonGabilondoAngulo/idevicelocation
您可以从控制台(来自 CI)使用它来为您的模拟器设置位置,它就像一个魅力 :-)
【讨论】: