DYLD_PRINT_STATISTICS

Did DYLD_PRINT_STATISTICS stop working?

I am using Xcode 26.0.1 and have tried it on several simulators and real devices, but am not getting any output. I haven't used this environment variable in a few years so don't know when it might have stopped working.

Has it been superseded or replaced?

Answered by DTS Engineer in 871640022

Take a look at profiling your app with Instruments, using the Time Profiler template. Pre-main launch time activities are included in the data, similar to what you may have looked to print out with those environment variables in the past.

— Ed Ford,  DTS Engineer

Accepted Answer

Take a look at profiling your app with Instruments, using the Time Profiler template. Pre-main launch time activities are included in the data, similar to what you may have looked to print out with those environment variables in the past.

— Ed Ford,  DTS Engineer

DYLD_PRINT_STATISTICS
 
 
Q