Validating podspec and fixing errors.