Because tens of thousands of devs working on other platforms would be able to rent a Mac for half an hour, build their cross-platform framework code as an XCode project, and then submit to the App Store, without ever touching a Mac, testing on a Mac, and so on.
At least this puts a barrier to entry.