snapshot/lib/assets/SnapshotHelper.swift in fastlane-2.171.0 vs snapshot/lib/assets/SnapshotHelper.swift in fastlane-2.172.0
- old
+ new
@@ -225,10 +225,10 @@
// on OSX config is stored in /Users/<username>/Library
// and on iOS/tvOS/WatchOS it's in simulator's home dir
#if os(OSX)
let homeDir = URL(fileURLWithPath: NSHomeDirectory())
return homeDir.appendingPathComponent(cachePath)
- #elseif arch(i386) || arch(x86_64)
+ #elseif arch(i386) || arch(x86_64) || arch(arm64)
guard let simulatorHostHome = ProcessInfo().environment["SIMULATOR_HOST_HOME"] else {
throw SnapshotError.cannotFindSimulatorHomeDirectory
}
let homeDir = URL(fileURLWithPath: simulatorHostHome)
return homeDir.appendingPathComponent(cachePath)