Plug iPhone into dock (e.g. Connected screen, keyboard) and run Xcode. It's big brother would be ability to run Xcode on iPad.

http://www.ubuntu.com/devices/android this is the only reason I can think of for buying an Android phone instead of iPhone.