Error compiling on XCode 10.1

Hi,

I am building a release build in a production scheme, and I'm getting this error:


PHI node operands are not the same type as the result!   
 %95 = phi %T7MDKData10VideoErrorOSbIegny_Sg* [ %67, %74 ], [ %38, %45 ], !dbg !4023 :0: 
error: fatal error encountered during compilation; please file a bug report with your project and the crash log :0: note: Broken function found, compilation aborted! 0  swift 


When I build the debug build, it works (test, staging, production), but when I use release, it fails.


When I used XCode 9.2, I can build everything fine.


Thanks in advance, and if I can provide any further information, please let me know.


Regards