SOLVED - Adding NFC Frameworks in Xcode

I have the current Xcode 9 beta, and I've created a completely new project based on Objective C so I can explore the NFC functionality.


I've added the "CoreNFC.framework" in Linked Frameworks


I've also added "Privacy - NFC Scan Usage Description" to my info.plist


However as soon as I add:


#import <CoreNFC/CoreNFC.h>


I get an error - "File Not Found CoreNFC.h"


Anyone know why I cannot add this framework to my project?



[EDIT] Typical Apple the errors are not descriptive at all, you have to have a device plugged in, trying to build on simulator or even generic device for me fails to build the project. Once I plugged in the iPhone 7 the errors dissapeared [/EDIT]




Plasma

Were you able to start a session and read a tag?

SOLVED - Adding NFC Frameworks in Xcode
 
 
Q