Cooking failed/ SF Metallib SM5?


I got this error in log when Cooking and Packaging for Mac, it has something to do with Metal but I can’t find what exactly.
I tried enable/ disable Mac metal desktop render with AND without tesselation in the project settings but it did not change anything.
Does it has something to do with Xcode ? I can’t find answers anywhere. Where should I even start looking?

The game is a 3D runner working with blueprints, 2800 actors, many textures (optimized) and very few added lights. I’m a newbie so please let me know if you need more infos.

[Log text is attached.][1]

I run UE 4.22.3 on iMac Mojave, processor 3,6 GHz Intel Core i9, memory 72 Go 2667 MHz DDR4, graphics Radeon Pro Vega 48 8 Go

Thanks a lot !

P.S. I also posted this in the forum. iOS section as there is no thread dedicated to package for Mac