Xcode Instruments: Leaks - App crashes on launch

2019-03-18 18:57发布

问题:

Xcode Instruments: Leaks - App crashes on launch

The app crashes on both, a device and in a Simulator.

What could cause the app to crash with the Instruments attached, while working correctly when installed using the cable or over the air via Fabric.

Update: Launching the "Allocations" instrument with the "Leaks" tab helps:

回答1:

Actually I think this is a bug of Instruments. Try to use the Allocations template instead, then click + and add the Leaks tool.