build: use -framework Foundation on macOS
This fixes an issue where link symbols are not available for basic Obj-C message passing and other release/retain operations.
Fixes #545 (closed)
This fixes an issue where link symbols are not available for basic Obj-C message passing and other release/retain operations.
Fixes #545 (closed)