[英]ITMS-90683: Missing Purpose String in Info.plist NSMicrophoneUsageDescription, flutter
我不使用麦克风,但 App Store 因以下错误拒绝了我的应用:
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 NSMicrophoneUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. 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. For details,
我将 NSMicrophoneUsageDescription 添加到 Info.plist 但是当我上传它时再次出现此错误。
即使您没有使用麦克风,您使用的某些软件包也可能已访问此功能。 在 info.plist 你可以像这样添加
<key>NSMicrophoneUsageDescription</key>
<string>The application does not use this feature</string>
Kashik 的回答有一个缺点。 如果某些图书馆请求麦克风,用户将看到权限对话框。
如果你想知道哪个库可以触发麦克风请求,你可以在.pub-cache
目录中的每个库中搜索Microphone
短语。 然后你可以替换这样的库。 有关详细信息,请参阅我的答案: https://stackoverflow.com/a/75309325/5985886
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.