Xcode 12.2 linker warnings with release builds

After updating to Xcode 12.2 and the latest JUCE on develop, I’m getting these warnings with release builds, but not debug builds.

It looks like it’s during GenerateDSYMFile.

I’ve never seen this before. Any ideas?

image

I am getting the same DIE warnings.
As for you, I only get them during release builds (debug builds are fine).
But so far I did not find an answer to them either.

Yes, only on Release builds.

Here’s my combination of flags that I use to get an executable with symbols stripped AND a dSym that I can use for crash reports. Not sure what’s causing these new warnings.

GCC_GENERATE_DEBUGGING_SYMBOLS=YES, 
GCC_DEBUGGING_SYMBOLS = full,  
DEBUG_INFORMATION_FORMAT=dwarf-with-dsym,  
DWARF_DSYM_FILE_NAME = "$(TARGET_NAME).dSYM",  
DWARF_DSYM_FOLDER_PATH = "$(CONFIGURATION_BUILD_DIR)/dSyms", 
DEPLOYMENT_POSTPROCESSING = YES, 
COPY_PHASE_STRIP=YES,  
STRIP_INSTALLED_PRODUCT = YES, 
STRIP_STYLE = all, 
SEPARATE_STRIP = YES

Has anyone come across an answer for this? Still happening using Xcode 12.5 on Big Sur.

Or, even a way to suppress the warnings from GenerateDSYM ?

1 Like

Bump. We’re also running into these warnings.

iirc i’ve been getting these since at least xcode 11. i tracked down the dsymutil code and i didn’t see any options one could set to silence these.

(not a solution, but just pointing to this thread that also had some discussion on the issue: [GUIDE] Symbolicating Release Builds - #7 by KoenTanghe )