After upgrading to Xcode9, we get a crash/warning (looks like a warning but behaves like a crash) when we try to encode a mock object using [NSKeyedArchiver archivedDataWithRootObject:mockObject]:
Attempting to archive Swift class 'Foo.MockUser' with mangled runtime
name '_TtCC13Foo27Bar8MockUser'. The runtime name for this class is
unstable and may change in the future, leading to non-decodable data.
Is there any way to disable or work around this?