# Distributing OCaml binaries for MacOS

**URL:** https://discuss.ocaml.org/t/distributing-ocaml-binaries-for-macos/17094
**Category:** Ecosystem
**Tags:** macos
**Created:** [August 12, 2025, 7:14am UTC](https://discuss.ocaml.org/t/distributing-ocaml-binaries-for-macos/17094 "2025-08-12T07:14:40Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![JohnWhitington](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/johnwhitington/32/1884_2.png) [@JohnWhitington](https://discuss.ocaml.org/u/JohnWhitington)
#### Post date: [August 12, 2025, 7:50pm UTC](https://discuss.ocaml.org/t/distributing-ocaml-binaries-for-macos/17094/4 "2025-08-12T19:50:19Z")

</div>

See my, and others’ comments here for some more advice:

> [@Building Mac executables for older OSes](https://discuss.ocaml.org/t/building-mac-executables-for-older-oses/10544/11):
>
> Setting both MACOSX\_DEPLOYMENT\_TARGET and SDKROOT (after installing the correct SDK) worked as desired. We have an executable compiled on OSX11 which runs on versions as old as OSX10.11 Thanks all!

---

_[View the full topic](https://discuss.ocaml.org/t/distributing-ocaml-binaries-for-macos/17094)._
