Am 19.01.23 um 16:50 schrieb snosniv:
> I'm now trying to find out if the Mac version works that I created, so far not apparently (a friend is trying to test).
> The conversion worked fine for my Windows PC, so will the tclexecomp conversion actually build a Mac executable if done on a a windows PC,
> or does it have to be on a Mac itself to convert the Tcl files successfully?
>
> I'd assumed al lwould be well with the PC conversion.
Hi snosiv,
I've got no experience with Freewrap, instead I use tclkits, but the
result should be the same - in general an application can be
"cross-compiled" if you have the correct Tcl compiled for the other
platform.
However, there is an idiosyncracy on the Mac; Apple has activated a
Firewall-like thing called "Gatekeeper" in recent versions of the OS
which prevents the execution of a binary that you download off the
internet, unless it is signed (costs $$ per year and requires some
knowledge) and even then, it asks for permission of the downloaded
software.
Another thing is that, in order to build a "true" Mac app, one has to
provide a special folder structure then create a compressed DMG image,
which only works on the Mac. Otherwise, the executable cannot be run in
the regular way (dropping it into /Applications etc.) and does not have
icons, associated files etc.
Christian