SOLVED - TAAE2 sample app crashing when enabling mic input (hardware only, simulator fine)
Hi,
I realise this (awesome) library has been retired, but I have already started building an app around TAAE2.
I am experiencing a problem which I can reproduce within the sample project:
Using the sample project, running on hardware, when I press the mic button enable the microphone (seemingly due to setting the AVAudioSessionCategory) I get this kind of crash:
If I run in the simulator it runs fine.
Surely I must be doing something really stupid here?! I presume this must be working for everyone else on iPhone SE?
Thanks,
Alex
Comments
Sod's law, as soon as I post to the forum I find the answer. In case this helps anyone else out it seems to be a new iOS10 requirement that you must declare microphone usage inside Info.plist:
http://stackoverflow.com/questions/39589998/the-apps-info-plist-must-contain-an-nsmicrophoneusagedescription-key-with-a-str
This seems to work for me:
