fulldecent / corelocationcli

Command line program to print location information from CoreLocation
MIT License
217 stars 29 forks source link

LOCATION MANAGER ERROR: The operation couldn’t be completed. (kCLErrorDomain error 1.) #48

Open fanlessfan opened 1 year ago

fanlessfan commented 1 year ago

I am using macOS Ventura. how to grant the location access to corelocationcli? I can grant it with pre-Ventura, but can't find it in Ventura. thx

n8henrie commented 1 year ago

Same here. Have been tinkering for days with different variations on embedding Info.plist into the binary, codesign --force -s - --entitlements entitlements.plist mybinary, no luck. I can create a new XCode project as an "app" and with both Swift and ObjC get CLLocation to work fine, but if I instead choose "command line tool" as the project type, using the same basic code, I can't get it working no matter what I try -- the permissions prompt never come up.

jlconlin commented 1 year ago

Another one here. Please let us know how to make this work.

jtsigros commented 1 year ago

goto discussion: https://github.com/fulldecent/corelocationcli/issues/46

in particular look at JayBrown post we got it working, I have the manual way and JayBrown as developed a script to fix this