尝试通过 EAS Submit 提交我的 Expo iOS 应用程序时,出现以下错误:
Asset validation failed Invalid entitlement for core nfc framework. The sdk version '17.4' and min OS version '13.4' are not compatible for the entitlement 'com.apple.developer.nfc.readersession.formats' because 'NDEF is disallowed'.
错误永远不会改变
我尝试将以下内容单独或一起添加到我的
app.json
中,但无济于事:
{
"expo": {
"ios": {
"entitlements": {
"com.apple.developer.nfc.readersession.formats": ["TAG"]
},
"infoPlist": {
"MinimumOSVersion": "14.0"
}
}
}
}
我还意识到MinimumOSVersion似乎并没有改变错误消息。
看起来你需要在配置插件选项中
includeNdefEntitlement: false
: