From c86b3a999d0ccec1dd818f89d2749eb54dda1638 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20D=E2=80=99Aquino?= Date: Wed, 4 Jun 2025 20:49:15 -0700 Subject: [PATCH] Enable address sanitizer for debug configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit NostrDB relies on manual memory management, so it is a good idea to enable the address sanitizer on debug configurations, as it helps find memory-related issues on the app, which will allow us to identify memory issues and potential crashes earlier in the development process. Changelog-None Signed-off-by: Daniel D’Aquino --- damus.xcodeproj/xcshareddata/xcschemes/damus.xcscheme | 1 + 1 file changed, 1 insertion(+) diff --git a/damus.xcodeproj/xcshareddata/xcschemes/damus.xcscheme b/damus.xcodeproj/xcshareddata/xcschemes/damus.xcscheme index 5ff8e186..b59a9803 100644 --- a/damus.xcodeproj/xcshareddata/xcschemes/damus.xcscheme +++ b/damus.xcodeproj/xcshareddata/xcschemes/damus.xcscheme @@ -55,6 +55,7 @@ buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" + enableAddressSanitizer = "YES" launchStyle = "0" useCustomWorkingDirectory = "NO" ignoresPersistentStateOnLaunch = "NO"