Problem: uint
doesn’t compile.
Solution: Change uint
to uint32_t
. Or at the top of Common.h, add typedef uint32_t uint;
In the bridging header, I often use uint
. This does not now compile, as the module isn’t included.
The Metal Shading Language Specification includes uint
to be the same as uint32_t
, so I think it this this is an oversight. If you use typedef...
be prepared to remove it at a future Xcode release.
Or if anyone knows which module should be included, please let me know