dSYM file not copied when archiving

Update. Adding this will fix the dSYM issue :

XCODE_ATTRIBUTE_CONFIGURATION_BUILD_DIR "$(inherited)"

Hope this helps someone else !

Cheers.