Hello!
I'm working on a new app, and DYLD_PRINT_STATISTICS=1 is not working - i.e., not producing any output.
Build platform:
- MacBook Pro (15-inch, 2018)
- macOS Monterey, 12.0 beta 6 (21A5506j)
- Xcode 13.0 beta 5 (13A5212g)
Test device:
- iPad 8th generation
- iPadOS 15.0 beta 8 (19A5340a)
I'm setting it as usual in Product -> Scheme -> Edit Scheme, then going to "Run" tab on the left and choosing "Arguments" on the top. In that screen I enter "DYLD_PRINT_STATISTICS" for Name
and "YES" for Value
. Nothing prints.
I also tried:
- Using "1" for
Value
instead of "YES" - Entering "DYLD_PRINT_STATISTICS=YES" as
Name
and leavingValue
blank - Entering "DYLD_PRINT_STATISTICS=1" as
Name
and leavingValue
blank - Every combination of the above, but as command-line arguments instead of environment variables.
Also, I tried "DYLD_PRINT_APIS" as Name
and "YES" as Value
, and that works normally.
What's going on here?
Is it something with the all-SwiftUI lifecycle?
An issue with the beta macOS/Xcode/iPadOS?
Thanks!