Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

149
Views
User microphone permissions in Swift Playgrounds

I am trying to access the user's microphone for mic input in a game I am making, using AVFoundation (specifically installTap:onBus:) for ios. In a regular xcode project, you would request access form the user and write the NSMicrophoneUsageDescription to the info.plist.

However, due to the nature of playgrounds, they don't have an info.plist to write to. The result is that, after requesting permissions (popup shows to the user), the playground crashes since it can't write to the info.plist file! It doesn't give me a real error log, so I deduced that this was the error by running the same code in an xcode project.

Is there any way to force playgrounds to write to a specific info.plist file / get around this permission in playgrounds?

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!