Reputation: 17
Is it possible at all to play a audio file directly to the iOS simulator?
In essence, redirect the audio output to the audio input on the computer so the iOS simulator could receive the audio through its mic?
Upvotes: 0
Views: 895
Reputation: 17
My solution was using Rogue Amoeba's Sound Flower and creating new channels of audio. Then going into Mac's Audio MIDI Setup app under utilities to set the virtual channel to be both the input and output, allowing the audio file that I'm playing on iTunes to directly feed into the microphone of the simulator.
Upvotes: 1
Reputation: 2185
https://discussions.apple.com/thread/2104726?tstart=0
iOS Simulator does not support audio recording, you should use read device.
Hardware Limitations While most of the functionality of iOS devices can be simulated in iOS Simulator, there are some hardware features that must be tested directly on a device. The hardware features that cannot be simulated are:
Accelerometer
Gyroscope Camera Proximity Sensor
Microphone Input
Upvotes: 1