 public protocol LocationProviderDelegate {
     func retrieved(location: CLLocation)
     func accessDenied()
-    func retrieved(heading: CLHeading)
+    
+    #if os(iOS)
+        func retrieved(heading: CLHeading)
+    #endif
+
     func locationAccess(isGranted: Bool)
 }
 

        locman.delegate = self
        locman.desiredAccuracy = kCLLocationAccuracyBest
        
        //locman.activityType = .fitness
        //locman.pausesLocationUpdatesAutomatically = true
    }
    
    // MARK: - Public Methods

     */
    public func stopUpdates () {
        locman.stopUpdatingLocation()
        
        #if os(iOS)
            locman.stopUpdatingHeading()
        #endif
        
        updatingHeading = false
        trying = false
        startTime = nil
