Open jslegendre opened 4 years ago
While this is fixed with current code* it's fascinating still. I'm more curious if this does anything for allowing ThemeEngine to open .car files on Big Sur..
*although perhaps a slightly more aggressive approach?!
The current code isn't "fixing" the issue, its skipping over the issue. But yes, it's a fairly aggressive approach which is why I did not submit a PR for it. Mainly opened this issue to have a discussion about implementation, if it should be done, etc...
@alexzielenski Any ideas?
Turns out CoreUI.framework has its own implementation of the
BOM*
functions which are NOT exported.In order to get
_enumerateFacets
working, we only need the CoreUI variants ofBOMTreeIteratorNew
andBOMTreeIteratorFree
.With these functions being not visible to the linker or
dlsym
, they have to be resolved manually during runtime. I was able to do this with my libSymRez project like so:Then replace the functions:
And we are back in business. It would probably be best to replace all BOM related functions with their CoreUI counterparts but this gets us going.
No idea why
_enumerateColors
works but_enumerateFacets
doesn't.