DYLD_PRINT_STATISTICS not showing anything

旧时模样 提交于 2019-12-01 05:48:59

While other flags, like DYLD_PRINT_BINDINGS work fine on the device, DYLD_PRINT_STATISTICS only seems to work on the simulator (for me, iOS 9.0).

In this (possibly unrelated) version of dyld.cpp, from osx 10.10.5 there doesn't seem to be any obvious exclusion of DYLD_PRINT_STATISTICS for devices, although there are conditionally compiled TARGET_IPHONE_SIMULATORs sprinkled throughout the code.

I guess it's a bug.

Looks like you can do it on device if you enable both environment variables in your scheme: DYLD_PRINT_APIS = YES DYLD_PRINT_STATISTICS = YES

Reference: https://github.com/artsy/eigen/issues/586#issuecomment-118606377

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!