Question: can xcode run on macbook air?
Answer: 4 or later in order to use the latest version of Xcode, and here are the computers that can run Mojave: MacBook (Early 2015 or newer) MacBook Pro (Mid 2012 or newer) MacBook Air (Mid 2012 or newer)