Coordinates in set_location don't match
I tried to set a custom location in my iPhone X Simulator with
fbsimctl 238EA766-EDB0-440F-BF3F-3C97C0362869 set_location 32.0853 34.7818
but I get this error
'["238EA766-EDB0-440F-BF3F-3C97C0362869", "set_location", "32.0853", "34.7818"]' does not match '[fbsimctl print [action]
I tried switching the dots by commas but neither worked, I still get the same error.
I installed fbsimctl via Homebrew with --HEAD, as doing it without it didn't work.
We just released idb. a new tool that improves significantly over fbsimctl and should have a fix for that issue. We recommend switching over. As part of our renewed commitment to this repo we are cleaning up old issues and will be monitoring and reviewing more closely from now on. if you still think this issue is relevant feel free to reopen
@ayelenmarie did you able to resolve this issue?
@tayyab-sarwar not yet, I submitted a request enhancement (which was accepted) in Detox's repo so they can implement it. Once that is done, I will be able to try it in my testing build.
@tayyab-sarwar I've tried using idb and encountered an issue I commented on #523.
@ayelenmarie any progress? struggling with the same thing on bitrise
Hey @pavlo-paliychuk-insighty, fbsimctl is deprecated now and part of the new idb, which has another sintax to set a location. In this issue on Detox repo https://github.com/wix/Detox/issues/1371 we discuss some points about it. Even though we haven't cracked it entirely, maybe something in there can help you!