idb icon indicating copy to clipboard operation
idb copied to clipboard

Coordinates in set_location don't match

Open ayelenmarie opened this issue 7 years ago • 6 comments

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.

ayelenmarie avatar Apr 11 '19 19:04 ayelenmarie

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

zeyadsalloum avatar May 07 '19 10:05 zeyadsalloum

@ayelenmarie did you able to resolve this issue?

tayyab-sarwar avatar Jun 11 '19 09:06 tayyab-sarwar

@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.

ayelenmarie avatar Jun 11 '19 14:06 ayelenmarie

@tayyab-sarwar I've tried using idb and encountered an issue I commented on #523.

ayelenmarie avatar Aug 15 '19 15:08 ayelenmarie

@ayelenmarie any progress? struggling with the same thing on bitrise

paul-paliychuk avatar Aug 20 '19 13:08 paul-paliychuk

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!

ayelenmarie avatar Aug 20 '19 13:08 ayelenmarie