Ian Leitch
Ian Leitch
Yep, that's the same issue. I'm planning to try fix this issue myself, in time for Swift 5.6... but I've hardly any time recently for Periphery.
Hey @subdan, sorry for such a late reply on this. Did you manage to get any further? Is the issue that the index store path to the source file is...
Using `--retain-objc-accessible` should correctly retain these protocols, though it might actually be nice to retain JS accessible without having to use `--retain-objc-accessible`. An option like `--retain-js-accessible` might be appropriate.
Thanks for reporting, I will investigate soon.
Are any of the results false positives? Or is it just sometimes omitting some correct results? > For example, there's a struct where most of its properties are marked as...
Are the results inconsistent also when using --skip-build? Or does skip-build take 1 hour? 😮
Ah, is this running in CI?
Unfortunately that's a known bug in Swift - https://bugs.swift.org/browse/SR-14162. I plan to get this fixed for Swift 5.6. That still shouldn't cause inconsistent behavior though.
2 & 3 are pretty much the same step, and yes that part is concurrent. Step 4 is where things can get a bit complicated. Before we actually walk the...
I suspect this most likely isn't a concurrency issue. Step 4 is single threaded, because it takes only a fraction of overall time compared to 1, 2 & 3. It's...