update OS version check method
update podspec