iTunes Connect 刚刚告诉我
This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSMicrophoneUsageDescription key with a string value explaining to the user how the app uses this data.
但是我的应用程序没有使用麦克风。我怎样才能系统地找出我的哪些(cocoapods)依赖项对此负责?
有 >20 个依赖项,我想避免手动删除依赖项(并使用它取消注释我的代码)只是为了找出其中一个导致拒绝,因为构建时间 + 提交 + “等待处理”需要很多时间时间。
最佳答案
对于闭源 Pod,使用 nm
来显示共享库的符号表。在这种情况下,命令将是 nm Pods/google-cast-sdk/GoogleCastSDK-Public-3.2.0-Release/Goog leCast.framework/Goo gleCast
,其中列出了对 AVAudioSession
.
关于ios - 应用被拒绝 : Systematic way to find (cocoapod) library that accesses privacy-sensitive data,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39953549/