<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Sorry, I did a little more digging on this.<div><br></div><div>My best guess is that Apple is rejecting this because they think you are using a non-public API of their own.</div><div><br></div><div>The OpenJFX version of MemoryPressureHandlerCocoa.mm matches what appears to be the current WebKit version. [1]</div><div><br></div><div>Older versions appear somewhat different. Including this…</div><div><br></div><div>#if PLATFORM(IOS) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000</div><div><br></div><div>[2][3]</div><div><br></div><div>[3] seems to show where this code was actually introduced with the above included.</div><div><br></div><div>It might be that for a Cocoa version it was thought that this compiler directive wasn’t needed but it actually still is?</div><div>Anyhow, adding something similar now might achieve a no-op that would get past them flagging this as an error. </div><div>‘locate’ on my machine doesn’t seem to show the libcache.dylib mentioned anywhere other than Xcode and other developer locations. </div><div><br></div><div>[1] <a href="https://github.com/WebKit/webkit/blob/main/Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm">https://github.com/WebKit/webkit/blob/main/Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm</a></div><div>[2] <a href="https://opensource.apple.com/source/WebCore/WebCore-7601.5.17/platform/cocoa/MemoryPressureHandlerCocoa.mm.auto.html">https://opensource.apple.com/source/WebCore/WebCore-7601.5.17/platform/cocoa/MemoryPressureHandlerCocoa.mm.auto.html</a></div><div>[3] <a href="https://fossies.org/diffs/WebKit/r174650_vs_r189384/Source/WebCore/platform/cocoa/MemoryPressureHandlerCocoa.mm-diff.html">https://fossies.org/diffs/WebKit/r174650_vs_r189384/Source/WebCore/platform/cocoa/MemoryPressureHandlerCocoa.mm-diff.html</a><br id="lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>On Jun 6, 2024, at 6:41 PM, Michael Hall <mik3hall@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><div>Odd, but searching shows this used in a different places and nowhere does it appear anyone has made any changes to the symbol referencing code.<br>It seems like some applications should of used this same code as-is.<br>Sort of strange.<br>I’m done with what digging I think I’m going to do.<br><br>GL.<br></div></div></blockquote></div><br></div></body></html>