I'm creating an app using CoreNFC to communicate with a device.
Initial communication works as intended, but the last response from the device fails after authentication is finished.
When I respond with the last response in my .received(): try await cardAPDU.respond(response: responseAPDU)
It goes through, but then .readerDeselected is triggered. Looking in the more detailed errors in console is see the following:
-[_NFCardSession validateReceivedAPDU:]:236 Invalid ISO7816 APDU detected, (null)
Note: The same behviour works as intended on Android, so the response should be fine from the device.