Many thanks for the #include <os/proc.h> workaround and information about os_proc_available_memory(). I'm running into the same issue where it won't compile without that extra line in the bridging header, though it compiles fine for me once I add that extra include.
I've also submitted a Feedback with FB10994534.
Thanks!
Topic:
App & System Services
SubTopic:
Core OS
Tags: