Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

159
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda