I have updated to 10.14
. Then I could not launch Xcode 7.3.1 (believe me I wish this were not necessary). I downloaded and re-installed Xcode 7.3.1, but I still get the same error in the "Report to Apple" dialog:
Dyld Error Message:
Symbol not found: _OBJC_IVAR_$_NSTextViewIvars.sharedData
Referenced from: /Applications/Xcode.7.3.1.app/Contents/MacOS/../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit
Expected in: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
in /Applications/Xcode.7.3.1.app/Contents/MacOS/../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit
I have tried
sudo xcode-select --switch /Applications/Xcode.7.3.1.app/Contents/Developer
which doesn't seem to solve the problem either.
Note: after each failed attempt to launch, I have to remove the quarantine xattrs with:
sudo xattr -dr com.apple.quarantine /Applications/Xcode.7.3.1.app