Xcode Testflight 验证错误 ITMS-90778 NDEF 不允许

2024-03-31

我正在尝试将我的应用程序上传到 TestFlight,它使用核心NFC (NDEF) https://developer.apple.com/documentation/corenfc.

不幸的是,我在(SDK 版本 13 和 13.1)中的 Testflight Validate 部分收到错误消息。

我已经尝试过这个:Xcode 11 beta 无法将应用程序上传到 TestFlight https://stackoverflow.com/questions/57530604/xcode-11-beta-cant-upload-app-to-testflight/58128365#58128365

但它会失去 NDEF 功能:https://stackoverflow.com/a/58128365/5588637 https://stackoverflow.com/a/58128365/5588637

Error messages: Invalid entitlement for core nfc framework The sdk version 13.0 and min OS version 13.0 are not compatible for the entitlement 'com. Apple developer nfc. Readersession formats because NDEF is disallowed
enter image description here


以下内容对我有用。

  1. 转到您的应用程序权利文件(如果您没有任何环境设置或对权利文件名进行更改,则主要是 .entitlement)
  2. Remove all entitlement for NFC other than "NFC tag-specific data protocol" enter image description here

  3. 最后你的权利文件应该有这样的内容

	<key>com.apple.developer.nfc.readersession.formats</key>
	<array>
		<string>TAG</string>
	</array>
enter image description here
  1. 清理您的项目,然后再次尝试上传到应用商店。

希望能帮助到你 :)

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Xcode Testflight 验证错误 ITMS-90778 NDEF 不允许 的相关文章

随机推荐