How to fix NDEF is disallowed error when uploading NFC enabled app to app store connect
This is the error that most app devs receive when uploading NFC enabled app. The solution is weird, however this is a bug with App Store connect for many years. You need to edit your entitlements file as follows.
This is my previous entitlements file (THIS IS THE FAILING entitlements file)
The code below is the code you need to replace your existing entitlements file with.
NOTE: To see your entitlements XML you need to CMD+click and select Open As >> Source Code
And their you have it. The app uploads successfully to App Store connect.
Even though we removed the NDEF attribute from our entitlements XML you can still read, and write NFC tags. This is a weird workaround, and I hope apple fixes this at some pint. We have had this bug around since Xcode 11 and their still isn’t a real solution to this issue. If you have any questions feel free to comment on this article, and I will do my best to help. Also if you wish too support us you can buy Swift and IOS related merchandise here