Recording jailbroken iphone microphone - command line tool



How can i record an iPhone microphone from command line tool?


Any idea? I tested some methods available in the internet but i can’t get any success.for example :


Any idea!!!


I also use entitlement for pre-authorizing the binary file :


What have you done?
What was your thought?
Don’t expect any valuable information without providing any details. Thank you.


Thanks for your reply.

i use AVAudioRecorder to record the GUI App AVAudioRecorder works fine.but when i use AVAudioRecorder in commandline tool, no any success record.only create a audio file without any voice.

I also sign by entitlements to give pre authorized access to microphone.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">


No any idea?


I have the same problem, would you solved?