ios: make codesigning check OS X version, not XCode version