0

I'm currently working on CoreNFC, and I've got an error:

I have included the CoreNFC framework into my app, but even then the error exists: No such module 'CoreNFC'

I ran the code from this official link https://developer.apple.com/videos/play/wwdc2017/718/

Manee ios
  • 1,112
  • 11
  • 14
  • 1
    did you see this? https://stackoverflow.com/questions/44386023/unable-to-import-in-corenfc-in-swift-project-xcode-9-beta – Bilal Jul 14 '17 at 14:12
  • Also, it's **CoreNFC**, not **Core NFC** - there no space in it. –  Jul 14 '17 at 14:20
  • Possible duplicate of [Unable to import in CoreNFC in swift project Xcode 9 beta](https://stackoverflow.com/questions/44386023/unable-to-import-in-corenfc-in-swift-project-xcode-9-beta) – Robotic Cat Jul 14 '17 at 14:52
  • I haven't added space between Core and NFC. I ran the code from https://developer.apple.com/videos/play/wwdc2017/718/ – Manee ios Jul 17 '17 at 09:57

2 Answers2

0

No such module 'Core NFC' error occurs while running the app in the simulator other than the device.

Hope this helps someone...

Manee ios
  • 1,112
  • 11
  • 14
0
  1. Clean your build folder (i.e., ShiftCommandK)
  2. Rebuild your project.

It worked for me.

Paulo Mattos
  • 18,845
  • 10
  • 77
  • 85