SOLVED - TAAE2 sample app crashing when enabling mic input (hardware only, simulator fine)
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?
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:
This seems to work for me: