     }
 
     // Get token (async/await)
-    #if swift(>=5.5)
+    #if compiler(>=5.5) && canImport(_Concurrency)
       if #available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) {
         // async/await is a Swift 5.5+ feature available on iOS 15+
         Task {

      }

      // Get token (async/await)
      #if swift(>=5.5)
        if #available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) {
          // async/await is a Swift 5.5+ feature available on iOS 15+
          Task {

          }
        }
        // Get token (async/await)
        #if compiler(>=5.5) && canImport(_Concurrency)
          if #available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) {
            // async/await is a Swift 5.5+ feature available on iOS 15+
            Task {
