title: iOS 13, Swift 5, Core NFC MiFare Classic 1K not detected
body: <p>i have a very fundamental issue when reading from a rfid chip using ios 13+ and swift 5, i have two setups (NFCNDEFReaderSession and NFCTagReaderSession),</p>
  
  <p>NFCNDEFReaderSession:</p>
  
  <pre><code>import UIKit
  import CoreNFC
  
  class ViewController: UIViewController {
  
      var session: NFCNDEFReaderSession?
  
      override func viewDidLoad() {
          super.viewDidLoad()
  
          session = NFCNDEFReaderSession(delegate: self, queue: DispatchQueue.main, invalidateAfterFirstRead: false)
          session?.begin()
      }
  
  }
  
  extension ViewController: NFCNDEFReaderSessionDelegate {
  
      func readerSessionDidBecomeActive(_ session: NFCNDEFReaderSession) {
          print("active") // called once
      }
  
      func readerSession(_ session: NFCNDEFReaderSession, didDetectNDEFs messages: [NFCNDEFMessage]) {
          print("didDetectNDEFs") // never called
      }
  
      func readerSession(_ session: NFCNDEFReaderSession, didInvalidateWithError error: Error) {
          print(error.localizedDescription) // only called on timeout
      }
  
  }
  </code></pre>
  
  <p>NFCTagReaderSession:</p>
  
  <pre><code>import UIKit
  import CoreNFC
  
  class ViewController: UIViewController {
  
      var session: NFCTagReaderSession?
  
      override func viewDidLoad() {
          super.viewDidLoad()
  
          session = NFCTagReaderSession(pollingOption: NFCTagReaderSession.PollingOption.iso14443, delegate: self, queue: DispatchQueue.main)
          session?.begin()
      }
  
  }
  
  extension ViewController: NFCTagReaderSessionDelegate {
  
      public func tagReaderSessionDidBecomeActive(_ session: NFCTagReaderSession) {
          print("active") // called once
      }
  
      public func tagReaderSession(_ session: NFCTagReaderSession, didDetect tags: [NFCTag]) {
          print("didDetect") // never called
      }
  
      public func tagReaderSession(_ session: NFCTagReaderSession, didInvalidateWithError error: Error) {
          print(error.localizedDescription) // only called on timeout
      }
  
  }
  </code></pre>
  
  <p>My hardware (NEW):</p>
  
  <p>YARONGTECH Rfid chip 13.56 mhz MIFARE Classic® 1K tag - 10pcs</p>
  
  <p>from amazon:</p>
  
  <p><a href="https://www.amazon.de/YARONGTECH-Classic%C2%AE-Schl%C3%BCsselanh%C3%A4nger-13-56MHz-ISO14443A/dp/B0749LSMLH/ref=sr_1_1?__mk_de_DE=%C3%85M%C3%85%C5%BD%C3%95%C3%91&amp;dchild=1&amp;keywords=YARONGTECH%20Rfid%20chip%2013.56%20mhz%20MIFARE%20Classic%C2%AE%201K%20tag&amp;qid=1592258266&amp;s=diy&amp;sr=1-1" rel="noreferrer">https://www.amazon.de/YARONGTECH-Classic%C2%AE-Schl%C3%BCsselanh%C3%A4nger-13-56MHz-ISO14443A/dp/B0749LSMLH/ref=sr_1_1?__mk_de_DE=%C3%85M%C3%85%C5%BD%C3%95%C3%91&amp;dchild=1&amp;keywords=YARONGTECH+Rfid+chip+13.56+mhz+MIFARE+Classic%C2%AE+1K+tag&amp;qid=1592258266&amp;s=diy&amp;sr=1-1</a></p>
  
  <p>In both scenarios the "didDetectNDEFs" and the "didDetect" methods never get called.</p>
  
  <p>I went through apple documentation:
  <a href="https://developer.apple.com/documentation/corenfc" rel="noreferrer">https://developer.apple.com/documentation/corenfc</a>
  and they actually claim it is possible(A reader session for detecting ISO7816, ISO15693, FeliCa, and MIFARE tags.), but how?..</p>
  
  <p>This guy also claims he could read from these rfid chips:
  <a href="https://stackoverflow.com/questions/44572827/detect-iso-iec-14443-mifare-ultralight-or-classic-nfc-cards-with-corenfc">Detect ISO/IEC 14443 (Mifare Ultralight or Classic) NFC Cards with CoreNFC</a></p>
  
  <p>Please respond only if you know the answer</p>