in reply to What's the "State Of the Art" way to distribute cli "Apps" on MacOS sans Xcode?

unless there are ways to get these traditional *nix build tools on MacOS without invoking the heavy (GBs) penalty of the Xcode elephant
There's "Xcode command-line tools" (including a compiler, Git and some other stuff; approximately 1.2GB, according to some sources on the Internet). I think you can use sudo xcode-select --install to install them, without getting Xcode in the process.
How does one distribute a Perl application on a MacOS where Xcode is not an option, and thus it's not an option to install modules that require a regular build (C compiler, make, etc)?
I think you should put Perl and all the modules in the YourApplication.app bundle. Then you won't have Perl and modules your user might not be able to compile as dependencies.

Replies are listed 'Best First'.
Re^2: What's the "State Of the Art" way to distribute cli "Apps" on MacOS sans Xcode?
by Fletch (Bishop) on Feb 03, 2022 at 16:12 UTC

    Seconding the second recommendation there. That has the advantage that you can guarantee that perl will be there (I want to say I've heard rumors that it might be going away in future OS X releases), that it will be the version you want/expect (and also can target a newer perl because the stock OS' is a long in the tooth 5.18 for 10.15), and that it has the modules you want installed (possibly even going as far as to segregate those into a local::lib hierarchy just to be able to upgrade those separately).

    The cake is a lie.
    The cake is a lie.
    The cake is a lie.

Re^2: What's the "State Of the Art" way to distribute cli "Apps" on MacOS sans Xcode?
by perlfan (Parson) on Feb 03, 2022 at 13:52 UTC
    You may be on to something...
Re^2: What's the "State Of the Art" way to distribute cli "Apps" on MacOS sans Xcode?
by Anonymous Monk on Feb 09, 2022 at 12:58 UTC
    you can try platypus from sveinbjorn.org