I wanted to record my Audio on Applewatch and send to my iPhone. I created a URL to store the file and everytime I try this on my simulator it is working fine but on real device nothing happes with this error
Error: Error Domain=com.apple.watchkit.errors Code=3 “(null)”
URL:
var dir = fileManager.containerURL(forSecurityApplicationGroupIdentifier: "group.com.companyname.projektname")
RECORD:
presentAudioRecorderController(withOutputURL: dir,preset:.narrowBandSpeech,
options: nil,
completion:.........