Xcode almost working