I've developed a B4i application that reads and writes NFC tags. The app works perfectly on my devices, successfully reading and writing NFC tags. Here are the steps I've taken:
- Tested the app on my devices with no issues.
- Ensured that the App ID has NFC Tag Reading enabled.
- Added the necessary NFC initialization code in the Main module.
B4X:#PlistExtra: <key>NFCReaderUsageDescription</key><string>Read nfc tags.</string> #MinVersion: 13 #Entitlement: <key>com.apple.developer.nfc.readersession.formats</key><array><string>NDEF</string><string>TAG</string></array> #AdditionalLib: CoreNFC.framework, ReferenceOnly #DeviceCapabilities: nfc
B4X:
Asset validation failed (90778)
Invalid entitlement for core nfc framework. The sdk version '17.4' and min OS version '13.0' are not compatible for the entitlement 'com.apple.developer.nfc.readersession.formats' because 'NDEF is disallowed'. (ID: c2e76f1d-7d6b-4d23-a028-29a9b3588b44)
Asset validation failed (90778)
Invalid entitlement for core nfc framework. The sdk version '17.4' and min OS version '13.0' are not compatible for the entitlement 'com.apple.developer.nfc.readersession.formats' because 'TAG is missing in the entitlement'. (ID: 95585b54-f2b7-406d-9b54-acaec9dd28ce)