Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yosemite and/or authorizationStatus? #2

Closed
kmpeterson opened this issue Nov 12, 2014 · 8 comments
Closed

Yosemite and/or authorizationStatus? #2

kmpeterson opened this issue Nov 12, 2014 · 8 comments

Comments

@kmpeterson
Copy link

I've been trying to get this running, using both the build instructions (built successfully) and the binary download. I'm getting output with authorizationStatus: 0 which implies that I hadn't authorized the app to access location services - but I saw no dialog.

This is also on Yosemite.

In the console log is:
12Nov14 3:31:17.053 PM com.apple.xpc.launchd[1]: (com.apple.CoreLocationAgent[24049]) Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.CoreLocation.agent

and then CoreLocation.agent segfaults.

Invoking it again also adds this:
12Nov14 3:32:21.918 PM CoreLocationCLI[24122]: CoreLocation: proxy_WaitForRegistration failed

Unfortunately, C* isn't my forte - I'm more of a sysadmin type. Any ideas of what I could try?

Thanks!

@fulldecent
Copy link
Owner

Hmm, and what is the full OS build numbers you are using? (About Mac and
click on the version number.)

On Wed, Nov 12, 2014 at 3:39 PM, K. M. Peterson notifications@github.com
wrote:

I've been trying to get this running, using both the build instructions
(built successfully) and the binary download. I'm getting output with
authorizationStatus: 0 which implies that I hadn't authorized the app to
access location services - but I saw no dialog.

This is also on Yosemite.

In the console log is:
12Nov14 3:31:17.053 PM com.apple.xpc.launchd[1]:
(com.apple.CoreLocationAgent[24049]) Endpoint has been activated through
legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in():
com.apple.CoreLocation.agent

and then CoreLocation.agent segfaults.

Invoking it again also adds this:
12Nov14 3:32:21.918 PM CoreLocationCLI[24122]: CoreLocation:
proxy_WaitForRegistration failed

Unfortunately, C* isn't my forte - I'm more of a sysadmin type. Any ideas
of what I could try?

Thanks!


Reply to this email directly or view it on GitHub
#2.

@kmpeterson
Copy link
Author

10.10, Build 14A389.

And CoreLocation is:
Version: 1 486.17
Obtained from: Apple
Last Modified: 17Oct14, 07:52

So, it’s just “me”?

I think I’m getting towards time for a rebuild… thanks so much for responding!

_KMP

K. M. Peterson • 40 Stanton Road • Brookline, MA 02445-6839
phone: +1 617 731 6177 fax: +1 206 338 6427
contact information http://kmpeterson.com/contact • resumé http://kmpeterson.com/resume • twitter http://twitter.com/kmp • LinkedIn http://www.linkedin.com/in/kmpeterson • Calendar http://www.google.com/calendar/hosted/kmp.name/embed?src=kmp@kmp.name&ctz=America/New_York

On 13-Nov-2014, at 10:43 , William Entriken notifications@github.com wrote:

Hmm, and what is the full OS build numbers you are using? (About Mac and
click on the version number.)

On Wed, Nov 12, 2014 at 3:39 PM, K. M. Peterson notifications@github.com
wrote:

I've been trying to get this running, using both the build instructions
(built successfully) and the binary download. I'm getting output with
authorizationStatus: 0 which implies that I hadn't authorized the app to
access location services - but I saw no dialog.

@fulldecent
Copy link
Owner

Confirming bug. Works for me in 10.9 and but 10.10 gives:

› build/Release/CoreLocationCLI
2014-11-14 09:41:48.501 CoreLocationCLI[23497:676698] Location: (null)
2014-11-14 09:41:48.511 CoreLocationCLI[23497:676698] authorizationStatus: 0
2014-11-14 09:41:48.513 CoreLocationCLI[23497:676698] locationServicesEnabled: 1
2014-11-14 09:41:48.513 CoreLocationCLI[23497:676698] significantLocationChangeMonitoringAvailable: 0
2014-11-14 09:41:48.514 CoreLocationCLI[23497:676698] headingAvailable: 0
2014-11-14 09:41:48.516 CoreLocationCLI[23497:676698] regionMonitoringAvailable: 1

@kmpeterson
Copy link
Author

Exactly what I got. Thanks for confirming this, anything I can do to assist? (Though I can tell you, it took me 2 hours just to figure out how to build it!)

_KMP

On 14Nov14, at 09:42 , William Entriken notifications@github.com wrote:

Confirming bug. Works for me in 10.9 and but 10.10 gives:

› build/Release/CoreLocationCLI
2014-11-14 09:41:48.501 CoreLocationCLI[23497:676698] Location: (null)
2014-11-14 09:41:48.511 CoreLocationCLI[23497:676698] authorizationStatus: 0
2014-11-14 09:41:48.513 CoreLocationCLI[23497:676698] locationServicesEnabled: 1
2014-11-14 09:41:48.513 CoreLocationCLI[23497:676698] significantLocationChangeMonitoringAvailable: 0
2014-11-14 09:41:48.514 CoreLocationCLI[23497:676698] headingAvailable: 0
2014-11-14 09:41:48.516 CoreLocationCLI[23497:676698] regionMonitoringAvailable: 1

Reply to this email directly or view it on GitHub #2 (comment).

@fulldecent
Copy link
Owner

This fixed for me, please confirm

@kmpeterson
Copy link
Author

No access to that particular workstation right now, will rebuild and test in next day or two. Thanks again!

_KMP

On 14Nov14, at 09:58 , William Entriken notifications@github.com wrote:

This fixed for me, please confirm


Reply to this email directly or view it on GitHub #2 (comment).

@fulldecent
Copy link
Owner

Did instructions in https://github.com/fulldecent/corelocationcli/blob/master/README.md not work? Please advise what you had to do to make it work.

@ladislas
Copy link

Hi there,

Just cloned the repo but still got the same error:

2014-12-26 11:37:30.454 CoreLocationCLI[1384:31104] authorizationStatus: 3
2014-12-26 11:37:30.454 CoreLocationCLI[1384:31104] locationServicesEnabled: 1
2014-12-26 11:37:30.455 CoreLocationCLI[1384:31104] significantLocationChangeMonitoringAvailable: 0
2014-12-26 11:37:30.455 CoreLocationCLI[1384:31104] headingAvailable: 0
2014-12-26 11:37:30.455 CoreLocationCLI[1384:31104] regionMonitoringAvailable: 1
ERROR: The operation couldn’t be completed. (kCLErrorDomain error 0.)

Any idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants