CoreNFC problems

Hi everyone,


I'm testing CoreNFC in an app and when I run it on my iPhone 7 Plus with iOS 11 beta one error appear in the log:


"Error Domain=NFCError Code=202 "Session is invalidated unexpectedly" UserInfo={NSLocalizedDescription=Session is invalidated unexpectedly}"


What happend?


(Yes, I use Xcode 9 and I have on my Mac macOS High Sierra)


Thanks!

Ok... I solve it. The problem was the entitlement.


Now I have another problem, I don't found any NFC tag valid for the reader. I see to buy some NDEF tags, but I see that have very models (Ntag 203, Ntag 213,...) Which NDEF tag is compatible for test the NFCReader app on iPhone? (If is available in Aliexpress for shopping, besser :-) )

I upload to GitHub all the code necesary for create a NFC Reader on iPhone. You can found it here: https://github.com/Rubenfer/NFC-Reader-for-iPhone-CoreNFC-

Hi Rubenfern,

I have the same problem. Even I added the entitlements file but still I get invalid session error. Also I dont even get the system popup window asking for taping the NFC Tag? Could you please let me know if I am missing anything. I updated the info.plist and also enabled NFC Read in AppID in developer account.

CoreNFC problems
 
 
Q