Error '!dat' trying to set the (null) audio devices' sample rate

守給你的承諾、 提交于 2019-12-01 05:42:38

had the same problem for several days (extremely annoying). I managed to fix it by changing the input settings for audio under system preferences.

System Preferences -> Sound -> Input

I had the same problem. Here is what I did:

  • Close xcode and the iOS simulator
  • Unplug the headphone jack and any usb headphones you might have
  • Restart xcode and run your simulation (problem should be solved)
  • Plug back in any audio devices you want to use

Did another reinstall and it finally worked. Still no idea what the problem was

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!