libsystem_symptoms.dylib missing in Xcode 8 libsystem_symptoms.dylib missing in Xcode 8 xcode xcode

libsystem_symptoms.dylib missing in Xcode 8


@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.


This is an XCode 8 bug.

While waiting for a proper fix from Apple, the following command removes the reference to the missing library from the tbd files.

sudo /usr/bin/sed -i.backup '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)

I don't know if it will works for every kind of build, but it fixed everything was not working for me.


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')