getiOSSDKVersion only returns major version, but we need minor versions for clearing out safari. use glob instead