hardcode solution if your Xcode still works anomaly,
so, it was only partial solution to show inline errors, but if you want your normal Xcode back:
move to bin your xcode,
For a complete removal of Xcode delete the following:
- /Applications/Xcode.app
- ~/Library/Caches/com.apple.dt.Xcode
- ~/Library/Developer
- ~/Library/MobileDevice
- ~/Library/Preferences/com.apple.dt.Xcode.plist
- /Library/Preferences/com.apple.dt.Xcode.plist
- /System/Library/Receipts/com.apple.pkg.XcodeExtensionSupport.bom
- /System/Library/Receipts/com.apple.pkg.XcodeExtensionSupport.plist
- /System/Library/Receipts/com.apple.pkg.XcodeSystemResources.bom
- /System/Library/Receipts/com.apple.pkg.XcodeSystemResources.plist
- /private/var/db/receipts/com.apple.pkg.Xcode.bom
But instead of 11, open up /private/var/in the Finder and search for "Xcode" to see all the 'dna' left behind... and selectively clean that out too. I would post the pathnames but they will include randomized folder names which will not be the same from my Mac to yours.
And, just to double check:
- xcrun simctl delete unavailable
- xcrun simctl shutdown all && xcrun simctl erase all
- sudo /Developer/Library/uninstall-devtools --mode=all
- rm -rf ~/Library/*/CoreSimulator
- sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService
- sudo rm -rf ~/Library/Caches/com.apple.dt.Xcode
install XCode again, if there is lefted simulators, on manage run destinations : remove all simulators, and install again, looks long but no issues after it 😌
issues usually appears after updating Xcode from 13 to 15/14, espessialy if you used filter on issue navigator, looks like incompatibility of versions or so