ios - 应用被拒绝 : Systematic way to find (cocoapod) library that accesses privacy-sensitive data

标签 ios xcode app-store-connect info.plist

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/

相关文章:

XCode 4.2.1 在发布时在 Lion 10.7.2 上崩溃

ios - iTunes Connect 中的 App Store 文件大小警告

ios - 此构建在 https ://itunesconnect. apple.com 上无效

iphone - 具有 iOS 3.2 的 iPad 与 iPhone iOS 3.0 的兼容性

ios - 如何使用plist从uitableview中删除?

ios - NSString 的值返回 null,但不确定为什么?

ios - 从库/缓存加载视频到 View

xcode - 如何使用 Xcode 11 Git Blame/Authors 以前的版本?

c++ - 如何在 XCode 中指定 -D__MACOSX_CORE__

ios - 含义 - 使用非公共(public) API 的应用程序将被拒绝