Skip to content
This repository has been archived by the owner on Jun 9, 2018. It is now read-only.

Sierra support #21

Closed
clburlison opened this issue Aug 23, 2016 · 6 comments
Closed

Sierra support #21

clburlison opened this issue Aug 23, 2016 · 6 comments
Assignees
Labels
Milestone

Comments

@clburlison
Copy link
Owner

Apple has updated the locationd daemon in Sierra. So pinpoint needs to be updated to support these changes. If doing an upgrade from 10.11 to 10.12 pinpoint will continue to work.

It would likely be best if I can reverse Apple's private framework and add the python binary using the same steps Apple is using. Will need to investigate.

@clburlison clburlison added the bug label Aug 23, 2016
@clburlison clburlison self-assigned this Aug 23, 2016
@clburlison
Copy link
Owner Author

clburlison commented Sep 14, 2016

The cdhash in clients.plist is no longer created in Sierra so it falls back to 10.10 style formatting. I don't think this is a problem but I need to do more 10.11 to 10.12 upgrade tests. I think if you upgrade from 10.11 with: LS on and python enabled, pinpoint would continue to work (more testing needed)

The root issue, that I am working on is, I'm unable to start/stop Location Services with:

sudo launchctl unload /System/Library/LaunchDaemons/com.apple.locationd.plist
sudo launchctl load /System/Library/LaunchDaemons/com.apple.locationd.plist

I'm not even sure it is possible to work around that anymore. Apple might have made that restricted. It might be possible to start prompting end users to enable location services themselves however I really don't like that solution. It isn't very corporate friendly.

@clburlison clburlison modified the milestone: 1.0.0 Sep 14, 2016
@clburlison clburlison assigned clburlison and unassigned clburlison Sep 14, 2016
clburlison pushed a commit that referenced this issue Sep 23, 2016
10.12 is not fully supported at this time. However upgrades from older 10.11 and older _should_ work. Bandaid for #21
@clburlison
Copy link
Owner Author

clburlison commented Oct 7, 2016

And what I've been working on for 24 days just started working. Can others running 10.12 please test the launchctl commands above and let me know if it does properly disable and then re-enable Location Services. You'll need to close and relaunch System Preferences > Security & Privacy > Privacy (tab) for it to reload the settings.

@bochoven
Copy link

bochoven commented Oct 8, 2016

Confirmed to be working on 10.12.1 Beta (16B2338c):

sudo launchctl unload /System/Library/LaunchDaemons/com.apple.locationd.plist

Location services are disabled

sudo launchctl load /System/Library/LaunchDaemons/com.apple.locationd.plist

Location services are enabled again

@pnerum
Copy link

pnerum commented Oct 12, 2016

I use 10.12 (16A323) and the launchctl commands work.

@clburlison
Copy link
Owner Author

Thanks guys. That helped narrow down my issue. Location Services on 10.12 has changed but the above isn't the hiccup.

@pnerum
Copy link

pnerum commented Oct 14, 2016

No thank you! Ill try out the new version that i’ve received with autopkg!

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

No branches or pull requests

3 participants