fixed bugs when 'osInfo' like 'iOS-12-1'
fixed bugs when 'osInfo' like 'iOS-12-1'

macOS Mojave 10.14.3
Xcode 10.1 (10B61)

luckytianyiyan/TySimulator,luckytianyiyan/TySimulator,luckytianyiyan/TySimulator