PropertyWrapper + Codable = Segfault?

ServerTimestamp comes from Firestore, a 3rd party Google framework: firebase-ios-sdk/ServerTimestamp.swift at 24e23931b43c7791b456d92eede67ebd88ae525d · firebase/firebase-ios-sdk · GitHub

  • We tried copying the definition to be in the same file, but it results in the same segfault, so the issue is not that the wrapper is defined in another file
  • We tried compiling with different optimization levels
  • Our next try will be to implement Codable ourself on this struct rather than relying on the compiler synthesizing it for us.