I want to have a access to this file in app group in both application(ios and watchos) I am using the following code to have an access. In watchos where i create the container its working fine but the same code in iOS giving me Errors
let fileManager1 = FileManager.default
let container = fileManager1.containerURL(forSecurityApplicationGroupIdentifier: "group.com.XX.YY")
let fileName = "XYZ.wav"
let saveUrl = container?.appendingPathComponent(fileName)
I find the error cause they have differently container Path.
My question is : how can i have acces to a file in appgroup in both application.?