libsystem_symptoms.dylib missing in Xcode 8

后端 未结 7 2374
情话喂你
情话喂你 2021-02-19 02:54

I just updated to Xcode 8, and I can no longer build xml2-based applications. If I build a simple file and try to build it as follows:

c++ myapp.cc `xml2-config         


        
7条回答
  •  北恋
    北恋 (楼主)
    2021-02-19 03:18

    Until Xcode8 stabilizes, I retain Xcode7.3, renamed as

    /Applications/Xcode7.3.app/

    Generally I use Xcode8 which is in

    /Applications/Xcode.app/

    but when encountering errors such as this, I have the option to

    sudo xcode-select -switch /Applications/Xcode7.3.app/

    This cured the error

    ld: file not found: /usr/lib/system/libsystem_symptoms.dylib for architecture x86_64

    for me, when attempting to install an R package:

    > install.packages('clickstream')

提交回复
热议问题