Write the XCode version test differently