ld: waning messages -- Frameworks out of sync.
ken.cunningham.webuse at gmail.com
Thu Aug 18 18:34:00 UTC 2022
> Otherwise, one needs to set SDKROOT as follows:
> export SDKROOT=$(xcrun --show-sdk-path)
> It is best to set SDKROOT in one's ~/.bash_profile
If you do that, you will possibly override MacPorts setting of
SDKROOT, and this is likely to cause you many problems when building
I would suggest you just ignore the warning -- the linker knows to use
the library if the TBD file is out of sync, as it has said in it's
Otherwise, you can fix the TBD file (which is what I did) by using the
OVERVIEW: Text-based Stubs Tool
USAGE: tapi [--version][--help]
tapi <command> [<args>]
archive Merge or thin text-based stub files
stubify Create a text-based stub file from a library
installapi Create a text-based stub file by scanning the header files
reexport Create a linker reexport file by scanning the header files
See 'tapi <command> --help' to read more about a specific command.
Of course, you may not want to do that -- but that is less intrusive
than setting the SDKROOT I would say, if the warnings are really
bothersome to you.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the macports-dev