From 58628517696194b846e5a9bd5adc809d16cb5f13 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sun, 15 Mar 2026 02:07:48 -0700
Subject: [PATCH] Create dSYM debug information for release builds in Xcode
---
Xcode/SDL_net.xcodeproj/project.pbxproj | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Xcode/SDL_net.xcodeproj/project.pbxproj b/Xcode/SDL_net.xcodeproj/project.pbxproj
index c567ea95..90902b65 100644
--- a/Xcode/SDL_net.xcodeproj/project.pbxproj
+++ b/Xcode/SDL_net.xcodeproj/project.pbxproj
@@ -396,6 +396,7 @@
007288120F0DA5BA00C302A9 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ DEBUG_INFORMATION_FORMAT = dwarf;
EXPORTED_SYMBOLS_FILE = "$(SRCROOT)/../src/SDL_net.exports";
OTHER_LDFLAGS = "$(CONFIG_FRAMEWORK_LDFLAGS)";
};
@@ -463,6 +464,7 @@
007288160F0DA5C400C302A9 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
EXPORTED_SYMBOLS_FILE = "$(SRCROOT)/../src/SDL_net.exports";
OTHER_LDFLAGS = "$(CONFIG_FRAMEWORK_LDFLAGS)";
};