udevsharold / locsim

Simulate GPS location system-wide
GNU General Public License v3.0
97 stars 15 forks source link

Interpretation issue: Negative value without explicitly specifying -x & -y flag #4

Closed RatedR9 closed 1 year ago

RatedR9 commented 1 year ago

if lat and long are negative number locsim says invalid option I use \ it still get error rootful also has this problem, and when open Apple map/Google map to share with Locsim shortcuts it says mkerrordomain error 1,but iOS 14 works

udevsharold commented 1 year ago

You need to quote them: locsim start "-1.4873828" "0.3827432"

As for the error, that looks like Shortcuts issue, probably the API changed on iOS 15, not an issue of locsim.

RatedR9 commented 1 year ago

I forget to say I use quote but get invalid option 98ECF1C1-2A54-4B2D-8B2B-ECD84F61157E

udevsharold commented 1 year ago

Hmm that seems like interpretation issue since no flag specified. I'll have a look when I got the time. In the mean time you could just explicitly specify the flag: locsim start -x "-1.4873828" -y "0.3827432"

RatedR9 commented 1 year ago

it worked,thank you

udevsharold commented 11 months ago

shortcuts it says mkerrordomain error 1

I figured that in >= iOS 15, you have to convert the map link into "Location" first before getting their lat/lon. I've updated the shortcut in README to fix this.

RatedR9 commented 10 months ago

shortcuts it says mkerrordomain error 1

I figured that in >= iOS 15, you have to convert the map link into "Location" first before getting their lat/lon. I've updated the shortcut in README to fix this. can you share the shortcut with icloud link?I don’t know how to direct install