Why this happens
Since iOS 10, Apple requires every app that links against APIs capable of accessing the microphone to declare the purpose in Info.plist using the NSMicrophoneUsageDescription key. The App Store automatically scans your binary for microphone-related symbols (such as AVAudioSession, AudioToolbox, or third-party SDK entry points). If any are found and the key is missing, the build is rejected with the message:
The app's Info.plist must contain an NSMicrophoneUsageDescription key with a string value explaining to the user how the app uses this data.
Common causes include:
- Direct use of
AVAudioRecorder,AVAudioEngine, or Speech framework. - Third-party SDKs (Instabug, Firebase Crashlytics, Zoom, Agora, etc.) that bundle microphone-capable code even if you never call it.
- Linking a framework that contains microphone symbols, which the static analyzer cannot distinguish from actual usage.
How to fix it
1. Add the required key to Info.plist
Open your project’s Info.plist as source code (right-click → Open As → Source Code) and insert the key inside the top-level <dict>:
<key>NSMicrophoneUsageDescription</key>
<string>We use the microphone for voice messages and audio recording in chat.</string>
Replace the string with an accurate, user-facing explanation. Apple reviews this text; vague or placeholder text (“Need microphone access”) may trigger a second rejection.
2. If you truly don’t use the microphone, audit your dependencies
Run the following in Terminal to see which linked frameworks reference microphone APIs:
# From your project root
xcrun nm -u YourAppBinary | grep -i audio
Or use the Link Map File (Build Settings → Write Link Map File = Yes) and search for AVAudio, AudioToolbox, Microphone.
Typical offenders:
– Instabug / Bugsnag / Sentry — voice note attachments.
– Firebase/Analytics — optional audio logging.
– Video/VoIP SDKs (Twilio, Agora, Vonage, Zoom).
– Speech-to-text or voice search libraries.
If a framework is the culprit, check its documentation for a “microphone-less” subset or a build flag to strip the audio code. If none exists, you must keep the usage description and be honest: “This app includes third-party analytics that may access the microphone for voice feedback.”
3. Provide descriptions for other privacy keys at the same time
While editing Info.plist, add the other usage keys your app or its dependencies need. A minimal set for many apps:
<key>NSCameraUsageDescription</key>
<string>We use the camera for profile photos and document scanning.</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>We access your photo library to let you attach images.</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>Your location shows nearby events and centers the map.</string>
This prevents follow-up rejections for NSCameraUsageDescription, NSPhotoLibraryUsageDescription, etc.
How to prevent it
- Add privacy keys early — include all
NS*UsageDescriptionkeys in your templateInfo.plistbefore first submission. - Audit third-party SDKs — run
nmorotool -Lon each binary framework to see linked system frameworks (AudioToolbox,AVFoundation). - Use Xcode’s Privacy Manifest (iOS 17+) — declare
NSPrivacyAccessedAPITypeentries so the App Store report matches yourInfo.plist. - Test with App Store Connect’s “TestFlight Internal Testing” — the same static analysis runs before external review.
FAQ
Why does my app need a microphone description if I never call recording APIs?
The App Store scanner detects linked symbols, not runtime calls. Any framework that imports AVFoundation or AudioToolbox headers can trigger the requirement, even if your code path never executes the audio code.
Can I use a generic string like “Microphone access required”?
Apple’s review guidelines require the string to “accurately and clearly explain” the purpose. Generic strings risk rejection. Write a specific, user-facing sentence that matches the actual feature (e.g., “Record voice messages in chat”).
Will removing the offending framework fix the rejection without adding the key?
Yes. If you can strip the framework or use a microphone-free variant, the binary will no longer reference audio symbols and the key becomes unnecessary. Verify with nm -u after removal.
Parts of this guide are adapted from content licensed under CC BY-SA 4.0; this article is shared under the same license.
