Why can't run xcode on the ipad pro

now,ipad pro has M4.It support Swift Playgrounds,but must be built with a minimum of Xcode 15? Why still need a mac, when I want to develop an ipad app!

Why can't run xcode on the ipad pro
 
 
Q