Impact of Security Vulnerabilities Caused by Enabling "Generate Debug Symbols"

We are working with an iOS app where we have enabled the “Generate Debug Symbols” setting to true in Xcode. As a result, the .dSYM files are generated and utilized in Firebase Crashlytics for crash reporting.

However, we received a note in our Vulnerability Assessment report indicating a potential security concern. The report mentions that the .ipa file could be reverse-engineered due to the presence of debug symbols, and that such symbols should not be included in a released app. We could not find any security-related information about this flag, “Generate Debug Symbols,” in Apple’s documentation.

Could you please clarify if enabling the “Generate Debug Symbols” flag in Xcode for a production app creates any security vulnerabilities, such as the one described in the report?

The report mentions the following vulnerability: TEST-0219: Testing for Debugging Symbols

The concern raised is that debugging symbols, while useful for crash symbolication, may be leveraged to reverse-engineer the app and should not be present in a production release.

Your prompt confirmation on this matter would be greatly appreciated. Thank you in advance for your assistance.

Impact of Security Vulnerabilities Caused by Enabling "Generate Debug Symbols"
 
 
Q