Missing Info.plist value. Apps with the com.apple.developer.usernotifications.communication entitlement must specify either “INSendMessageIntent” or “INStartCallIntent” in the value of the NSUserActivityTypes Info.plist key. (90894)
解决:
这个警告是苹果在审核iOS应用时发现了使用用户通知和通讯相关的权限(com.apple.developer.usernotifications.communication)。这个权限通常与使用 SiriKit 相关,特别是当你的应用需要处理发送消息或开始通话的请求时。
错误提示,如果您的应用包含了com.apple.developer.usernotifications.communication权限,那么必须在Info.plist文件中通过NSUserActivityTypes键指定至少一个SiriKit支持的Intent类型。具体来说,需要包含"INSendMessageIntent"或"INStartCallIntent" 。
可以直接在应用项目中配置 iOS 平台的 Info.plist和资源文件(Bundle Resources)。
创建Info.plist文件,NSUserActivity | Apple Developer Documentation文档对于NSUserActivityTypes的介绍。
Info.plist文件完整代码:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!-- SiriKit 相关权限配置 -->
<!-- 声明支持的 NSUserActivityTypes -->
<key>NSUserActivityTypes</key>
<array>
<string>INSendMessageIntent</string>
<string>INStartCallIntent</string>
</array>
</dict>
</plist>
这样在进行iOS云打包的时候就会将Info.plist文件合并进去,这样交付的时候就不会出现警告了。

911

被折叠的 条评论
为什么被折叠?



