Hypothetically (and jokingly), in this scenario, Apple should limit Xcode to only be for developers publishing on App Store, and let the other guys work out their own tools.
There is at least a little bit of truth to this joke in that Apple absolutely prioritizes their efforts with XCode based on the needs of App Store developer. This is also true about their APIs too.