Xcode was not detected on this Mac

Having the same issue, can’t seem to find a fix