It seems Swift (in Xcode 8.3.2) can't generate symbols for #defines that have expressions. e.g. this one works, and gets a symbol: #define LGS_MAX_IR_PANORAMA_IMAGE_COUNT 10 But this one doesn't: #define LGS_IMAGE_DATA_SIZE 25*1024*1024 -- Rick Mann rmann at latencyzero.com