Changes between Initial Version and Version 1 of Ticket #64777, comment 3


Ignore:
Timestamp:
Mar 7, 2022, 8:51:44 PM (3 years ago)
Author:
dardo82 (Michele Venturi)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #64777, comment 3

    initial v1  
    1 The Command Line Tools are installed and \\
    2 I have also tried using a package for Swift.
     1I have the CommandLineTools installed. \\
     2\\
     3\\
     4RPATH can be changed with command: \\
     5{{{sudo install_name_tool -add_rpath /usr/lib/swift $(which mpv)}}} \\
     6\\
     7With the lib dir in RPATH I get this error: \\
     8{{{
     9dyld: Symbol not found: __T0So8NSWindowC5LevelV6AppKit01_cdD23NumericRawRepresentableAEWP
     10  Referenced from: /opt/local/bin/mpv
     11  Expected in: /usr/lib/swift/libswiftAppKit.dylib
     12 in /opt/local/bin/mpv
     13zsh: abort      mpv
     14}}}
     15that is similar to what is reported here: \\
     16https://github.com/mpv-player/mpv/issues/9714 \\
     17\\
     18\\
     19The libraries are from a support package:
     20{{{
     21pkgutil --file-info /usr/lib/swift/libswiftAppKit.dylib
     22volume: /
     23path: /usr/lib/swift/libswiftAppKit.dylib
    324
    4 https://support.apple.com/kb/dl1998
     25pkgid: com.apple.pkg.SwiftRuntimeForCommandLineTools
     26pkg-version: 10.2.0.0.1.1552586384
     27install-time: 1645223925
     28uid: 0
     29gid: 0
     30mode: 755
     31}}}
     32that can be downloaded here from Apple: \\
     33https://support.apple.com/kb/dl1998 \\
     34\\
     35\\
     36The libraries in {{{Xcode.app}}} and {{{/usr/lib/swift}}} are different: \\
     37{{{
     38diff /usr/lib/swift/libswiftAppKit.dylib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/libswiftAppKit.dylib
     39Binary files /usr/lib/swift/libswiftAppKit.dylib and /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/libswiftAppKit.dylib differ
     40}}}
     41\\
     42I use Xcode 9.4.1 plus Swift 4.1.2 now. \\
     43Let me know if you need other details. \\