Delete simulator with persistance storage macos app
let env = ProcessInfo.processInfo.environment
print("Simulator info: \(env)")
if let buildPath = env["__XCODE_BUILT_PRODUCTS_DIR_PATHS"] {
print("Xcode build products path:", buildPath)
}
print("rm -rf \(env["HOME"]!.replacingOccurrences(of: "/Data", with: ""))")
// stop the app ;-) and in the cli
rm -rf: /Users/username/Library/Containers/848CBF45-5A76-499E-955C-3BC5E4770F52
