[TIMOB-15741]handle Xcode switch properly, removing any dependencies on the binary.