Overview
| Artifact ID: | 00a0bae521f9906b9415ea737adeebe4582398090867c4996848ba263b2ed9e1 |
|---|---|
| Ticket: | 503c4c6f56b5a45d7e3acc5bef792943bbee8d58
Compiled code fails to run on older macos |
| User & Date: | chrstphrchvz on 2023-06-07 02:32:37 |
Changes
- icomment:
Ideally this ticket belongs in the Tk issue tracker, since usage of UniformTypeIdentifiers is entirely in Tk Aqua, not Tcl. The changes relevant to this issue were part of the [https://core.tcl-lang.org/tk/timeline?r=monterey_deprecations|monterey_deprecations branch]. If I understand [https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/WeakLinking.html#//apple_ref/doc/uid/20002378-107026] correctly, then the problem is because even though any usage of UniformTypeIdentifiers functions was put in <tt>if (@available(macOS 11.0, *)) {…}</tt> blocks, in [https://core.tcl-lang.org/tk/info/9b50c66a1c94] the framework itself was not weakly linked to. The attached patch may fix the issue. “Hiding” the framework during build should not be desirable nor necessary. - login: "chrstphrchvz"
- mimetype: "text/x-fossil-wiki"