I have a little game I've created that needs input from the microphone. It works great in a preview window on my Mac, but doesn't work when I do a Remote Preview to my iPhone (iOS 11) nor when I compile in Xcode (9.0.1) and run an iOS emulator (iOS 11). I do get prompted for access to use the microphone on my iPhone but the Remote Preview receives no audio. What am I doing wrong?
Edit: The microphone example seems to work just fine in Remote Preview. I built the microphone components of my game using that as a guideline. I keep looking at the code but I don't know what I am missing.