Xcode definitely isn’t coming to the iPad anytime soon.
SwiftUI would certainly bring it a lot closer to being possible but like the others who have commented I'm skeptical it will be any time soon, mainly because the workflow would be a nightmare with the iPad Pro (imo). Even an Xcode "Lite" edition could be quite tough to work with because of things like source control (how we manage the code within teams), access to terminal and even just the limitations of the Files app. I'd love to be wrong though!
Remote compiling in certainly an option. There are services provide it for developers that don't own macs. But I agree the current Xcode is best used on a mac platform.Xcode? No. Not gonna happen anytime soon. Way too many changes need to be made to have a good development environment. Unless, Apple has some crazy cloud solutions that allow developer to compile/run the code over the cloud and test app can be loaded to target device remotely. Definitely viable, but the problem is how to achieve that.
I am a developer and I think you have things backwards. SwiftUI is amazing and lets you do a lot more with a lot less code. But that doesn't make compiling easier. In fact, it's probably harder now since SwiftUI now needs to figure out a bunch of things that would have been specified by the developer previously. It's not that the overall system got simpler. It's even more complex now than ever before. But much of the complexity is now hidden away behind SwiftUI.I’ve seen a few tweets similar to this regarding the reduced footprint in the new Swift. Could this make compiling apps easier, and could this mean Xcode can soon come to iPad? Please note, I’m not a developer, just curious.