NSBluetoothAlwaysUsageDescription是必需的,但未使用蓝牙 [英] NSBluetoothAlwaysUsageDescription required, but bluetooth is not used

查看:1774
本文介绍了NSBluetoothAlwaysUsageDescription是必需的,但未使用蓝牙的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的具有新Xcode 11 GM Seed 2的ios应用程序中,部署后,苹果返回了错误: ITMS-90683:Info.plist中缺少目的字符串,带有NSBluetoothAlwaysUsageDescription.

In my ios app with new Xcode 11 GM Seed 2 after deploy, apple returned error: ITMS-90683: Missing Purpose String in Info.plist with NSBluetoothAlwaysUsageDescription.

https://developer.apple.com/documentation/bundleresources/information_property_list/nsbluetoothalwaysusagedescription?language = objc 已读取.

问题是我没有在我的应用程序中使用蓝牙.也许我不知道.我如何找出为什么需要此许可目的?

The problem is that I don't use bluetooth in my app. Or maybe I don't know about it. How can I find out why this permission purpose is needed?

我没有使用CoreBluetooth.framework

推荐答案

我今天遇到了同样的问题.当我执行grep搜索时,发现在project.pbxproj

I had this exact same issue today. When I did a grep search I found that there is some reference to CoreBluetooth.framework inside my project.pbxproj

我删除了参考,并且构建了应用程序,一切正常.上传到Apple并成功通过,因此对我有用.

I removed the reference and building the app went fine. Uploaded to Apple and it got through so this worked for me.

要搜索,请使用以下命令

To search use the following command

grep -r -a CoreBluetooth.framework ProjectFolder

这篇关于NSBluetoothAlwaysUsageDescription是必需的,但未使用蓝牙的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆