libsystem_symptoms.dylib missing in Xcode 8

后端 未结 7 2377
情话喂你
情话喂你 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:09

    @mnencia answer works removing references to libsystem_symptomps.dylib, but failed for me using OS X. Change the following should allow it to work on OS X:

    sudo /usr/bin/sed -i.backup -E -e 's@/usr/lib/system/libsystem_symptoms.dylib(, )?@@' \
    $(grep -ril /usr/lib/system/libsystem_symptoms.dylib \
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/lib)
    

    Hope this helps Mac developers.

提交回复
热议问题