The app's Info.plist file should contain a NSBluetoothAlwaysUsageDescription key while the key is in the plist file

后端 未结 6 2150
忘掉有多难
忘掉有多难 2021-01-03 19:51

First of all, I would like to state that I already looked at Stack Overflow post here and adding either the one mentioned by either iCoder & Deepak didn\'t solve the pro

6条回答
  •  清歌不尽
    2021-01-03 20:10

    Someone posted an answer that helped me, but then deleted it! To paraphrase the answer:

    Adding the privacy keys to the plist without knowing what is triggering the error from Apple is not the best way to solve this.

    In my case, when I did a grep search I found that there is some reference to CoreBluetooth.framework inside my project.pbxproj. I removed the reference and the build and TestFlight upload succeeded!

    To search use the following command:

    grep -r -a CoreBluetooth.framework ProjectFolder
    

提交回复
热议问题