go to "settings" > "more" > "mobile network sharing" > "USB network setting" > select "none"
make sure in "developer options" that >> "USB debugging" and "allow mock locations" are ticked on.
This worked for my HTC One to sync with Macbook Air using HTC Sync Manager. :)