New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Read and write NFC tags with CoreNFC across NDEF, ISO, FeliCa, and MIFARE protocols on iPhone.

skills.sh installs
3.8K
GitHub stars
1.3K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers NDEF reader sessions, tag reader sessions, NDEF message construction, entitlements, and background tag reading
  • Includes setup steps for the NFC capability, NFCReaderUsageDescription, and the TAG reader session format entitlement
  • Enforces checks for reader availability and tag write status (readWrite) before connecting or writing NDEF data
  • Designed for iOS developers adding tag scanning, tag writing, or background tag reads to iPhone apps

Install

$ npx -y skills add dpearson2699/swift-ios-skills --skill core-nfc -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

CoreNFC

Read and write NFC tags on iPhone using the CoreNFC framework. Covers NDEF reader sessions, tag reader sessions, NDEF message construction, entitlements, and background tag reading.

Contents

Setup

Project Configuration

  1. Add the Near Field Communication Tag Reading capability in Xcode
  2. Add NFCReaderUsageDescription to Info.plist with a user-facing reason string
  3. Add the com.apple.developer.nfc.readersession.formats entitlement with the current TAG value; do not add legacy NDEF
  4. For ISO 7816 tags, add supported application identifiers to com.apple.developer.nfc.readersession.iso7816.select-identifiers in Info.plist
  5. For FeliCa tags, add supported system codes to com.apple.developer.nfc.readersession.felica.systemcodes; do not use wildcard system codes

Device Requirements

Details

Repository
github.com/dpearson2699/swift-ios-skills
Category
Mobile Apps
First seen
Apr 16, 2026

More from dpearson2699/swift-ios-skills

All 94

Similar to Core Nfc

More Mobile Apps