关于IOS上架提交时遇到ITMS-90683: 的NSBluetoothAlwaysUsageDescription错误导致上传失败报错的问题

Dear Developer,

We identified one or more issues with a recent delivery for your app, "XXXXXX" 1.0.0 (4934). Please correct the following issues, then upload again.

ITMS-90683: Missing Purpose String in Info.plist - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSBluetoothAlwaysUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data are required to include a purpose string. If you're using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn't contain the APIs. Learn more (https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy).

Best regards,
 

这两天上传的很多开发者或许都遇到了这个问题,报错后导致直接上传的包无效,不给通过,纠错过程中发现已经添加了该字段啊,怎么还是不能通过,而且这个问题估计是为了迎接iOS13提出的,今晚就要发布了,之前上传多次都没有遇到这个问题报错。

网上找了一大圈没有发现彻底的解决办法,然后看了官方文档,终于找到了解决方法,顺利通过。

网上爬楼都爬了这么多,居然没有明确的解决办法,哈哈:

方法1:

据传  alpha版本打包就可以,或者升级到Xcode 的10.13版本(与10.15系统相匹配的版本)吧

方法2:

根据官方说法,补充该字段,不是一个,而是两个,很多时候都认为是一个,其实是两个!!!!!

只从邮件报错,很难看出还有这个NSBluetoothPeripheralUsageDescription 字段!!

这样就可以解决上面的问题了!

发布了192 篇原创文章 · 获赞 29 · 访问量 45万+

猜你喜欢

转载自blog.csdn.net/julius_lee/article/details/101021808