injectionforxcode icon indicating copy to clipboard operation
injectionforxcode copied to clipboard

BundleSweeper causing crash

Open PrideChung opened this issue 7 years ago • 1 comments

Hi,

This tool is such a brilliant idea, thank you for your hard work.

My project encountered a special crash case while performing injection, looks like some methods of 3rd party library are being called by bundle sweeper from an undesired thread and triggered an assertion.

2017-10-28 5 14 51

My question is if there anyway to disable bundle sweeper for a specified class?

PrideChung avatar Oct 28 '17 09:10 PrideChung

Hi, no way at the moment I’m afraid. The sweeper is used to implement the -injected functionality the alternative is to use “INJECTION_BUNDLE_NOTIFICATION” when you have this problem see: https://github.com/johnno1962/injectionforxcode/issues/226

johnno1962 avatar Oct 28 '17 12:10 johnno1962