project: generate DSYM file

Change-Id: Icfeb9818797ce922edba46a8ac0201b6e827751d
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b8da43b..0a10563 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -497,6 +497,7 @@
         XCODE_ATTRIBUTE_ENABLE_HARDENED_RUNTIME TRUE
     )
 ENDIF()
+set(CMAKE_XCODE_ATTRIBUTE_DEBUG_INFORMATION_FORMAT "dwarf-with-dsym")
 # Make sure we can find the 'ibtool' program. If we can NOT find it we
 # skip generation of this project
 FIND_PROGRAM(IBTOOL ibtool HINTS "/usr/bin" "${OSX_DEVELOPER_ROOT}/usr/bin")